diff options
author | Damien <Dbroqua@users.noreply.github.com> | 2016-09-29 22:59:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-29 22:59:31 +0200 |
commit | eb0f21a984eff2a8c4ad15f91fb18b456373e921 (patch) | |
tree | 054ee42af8683f22b3f0ddf36a43d8c33d713454 /keyboards/lets_split | |
parent | f0441f08b87986f49479f1503b11a3d3f899d58e (diff) | |
parent | f0db230c461b77d0d24984d4f0dcd26f12e67076 (diff) |
Merge pull request #6 from jackhumbert/master
Merge from jackhumbert
Diffstat (limited to 'keyboards/lets_split')
-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 } |