diff options
author | dbroqua <dbroqua@mousur.org> | 2016-10-01 18:28:48 +0200 |
---|---|---|
committer | dbroqua <dbroqua@mousur.org> | 2016-10-01 18:28:48 +0200 |
commit | 7cd210722db2a1318209a7385ed29d4e62bfab18 (patch) | |
tree | 279824e252a45f0a1b0d499bab36cbfbac5b28f6 /keyboards/lets_split/lets_split.c | |
parent | 8747c0786e7b583529d4033ea90aa91e49ae3a51 (diff) | |
parent | 7abd3b4ddd0eb4ae4da6cce9283cfcf8089ac449 (diff) |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'keyboards/lets_split/lets_split.c')
-rw-r--r-- | keyboards/lets_split/lets_split.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/lets_split/lets_split.c b/keyboards/lets_split/lets_split.c index 574c116a75..c505d3a6e3 100644 --- a/keyboards/lets_split/lets_split.c +++ b/keyboards/lets_split/lets_split.c @@ -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 } |