diff options
author | Drashna Jaelre <drashna@live.com> | 2018-02-08 12:16:06 -0800 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-02-08 15:16:06 -0500 |
commit | 6835ae82095427b2b5d5b3839a8d54845244169b (patch) | |
tree | ebd3a740ea7cc58b6ecc82a18044ec44c8eebb77 /keyboards/orthodox/keymaps/drashna/config.h | |
parent | c5d81a84a0519c78de1b5e165f5f2c1eb773bc11 (diff) |
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
Diffstat (limited to 'keyboards/orthodox/keymaps/drashna/config.h')
-rw-r--r-- | keyboards/orthodox/keymaps/drashna/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/keyboards/orthodox/keymaps/drashna/config.h b/keyboards/orthodox/keymaps/drashna/config.h index c83380bd01..107f16d58c 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 <http://www.gnu.org/licenses/>. #ifdef AUDIO_ENABLE #define C6_AUDIO #define STARTUP_SONG SONG(IMPERIAL_MARCH) +#define NO_MUSIC_MODE #endif #undef PRODUCT |