Merge pull request #786 from mannkind/patch-1

Fix lets_split.c so that audio can be disabled
This commit is contained in:
Jack Humbert 2016-09-25 22:43:38 -04:00 committed by GitHub
commit 812219e8a0

View File

@ -24,7 +24,9 @@ void matrix_init_kb(void) {
}; };
void shutdown_user(void) { void shutdown_user(void) {
PLAY_NOTE_ARRAY(tone_goodbye, false, 0); #ifdef AUDIO_ENABLE
_delay_ms(150); PLAY_NOTE_ARRAY(tone_goodbye, false, 0);
stop_all_notes(); _delay_ms(150);
stop_all_notes();
#endif
} }