aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/orthodox
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-02-08 12:16:06 -0800
committerJack Humbert <jack.humb@gmail.com>2018-02-08 15:16:06 -0500
commit6835ae82095427b2b5d5b3839a8d54845244169b (patch)
treeebd3a740ea7cc58b6ecc82a18044ec44c8eebb77 /keyboards/orthodox
parentc5d81a84a0519c78de1b5e165f5f2c1eb773bc11 (diff)
downloadfirmware-6835ae82095427b2b5d5b3839a8d54845244169b.tar.gz
firmware-6835ae82095427b2b5d5b3839a8d54845244169b.tar.bz2
firmware-6835ae82095427b2b5d5b3839a8d54845244169b.zip
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')
-rw-r--r--keyboards/orthodox/keymaps/drashna/config.h1
1 files changed, 1 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
#ifdef AUDIO_ENABLE
#define C6_AUDIO
#define STARTUP_SONG SONG(IMPERIAL_MARCH)
+#define NO_MUSIC_MODE
#endif
#undef PRODUCT