Merge pull request #786 from mannkind/patch-1

Fix lets_split.c so that audio can be disabled
pull/790/head
Jack Humbert 8 years ago committed by GitHub
commit 812219e8a0

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

Loading…
Cancel
Save