~ruther/qmk_firmware

c40ad11615b6cb1d08ec2d3b284d59df00c57c1f — Dustin 9 years ago f24b3f4
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.
1 files changed, 5 insertions(+), 3 deletions(-)

M keyboards/lets_split/lets_split.c
M keyboards/lets_split/lets_split.c => keyboards/lets_split/lets_split.c +5 -3
@@ 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
}