Fix lets_split.c so that audio can be disabled

Matching the use of `#ifdef AUDIO_ENABLE` used in `matrix_init_kb()` in order to compile firmware for the Let's Split keyboard without audio enabled.
pull/786/head
Dustin 8 years ago committed by GitHub
parent f24b3f4589
commit c40ad11615

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

Loading…
Cancel
Save