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
This commit is contained in:
Drashna Jaelre
2018-02-08 12:16:06 -08:00
committed by Jack Humbert
parent c5d81a84a0
commit 6835ae8209
3 changed files with 8 additions and 3 deletions

View File

@@ -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