From 6835ae82095427b2b5d5b3839a8d54845244169b Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Thu, 8 Feb 2018 12:16:06 -0800 Subject: Add the ability to disable Music Mode completely (#2339) * Skip process_music in NO_MUSIC_MODE is defined * Skip matrix_scan_music if NO_MUSIC_MODE is defined * Skip music_all_notes_off if NO_MUSIC_MODE is defined * Leave matrix_scan_music in, because it reduces firmware size by 150b.... * Add docs for NO_MUSIC_MODE --- keyboards/orthodox/keymaps/drashna/config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'keyboards/orthodox') diff --git a/keyboards/orthodox/keymaps/drashna/config.h b/keyboards/orthodox/keymaps/drashna/config.h index c83380bd0..107f16d58 100644 --- a/keyboards/orthodox/keymaps/drashna/config.h +++ b/keyboards/orthodox/keymaps/drashna/config.h @@ -69,6 +69,7 @@ along with this program. If not, see . #ifdef AUDIO_ENABLE #define C6_AUDIO #define STARTUP_SONG SONG(IMPERIAL_MARCH) +#define NO_MUSIC_MODE #endif #undef PRODUCT -- cgit v1.2.3-24-g4f1b