summaryrefslogtreecommitdiff
path: root/keyboards/lets_split
diff options
context:
space:
mode:
authorDamien <Dbroqua@users.noreply.github.com>2016-09-29 22:59:31 +0200
committerGitHub <noreply@github.com>2016-09-29 22:59:31 +0200
commiteb0f21a984eff2a8c4ad15f91fb18b456373e921 (patch)
tree054ee42af8683f22b3f0ddf36a43d8c33d713454 /keyboards/lets_split
parentf0441f08b87986f49479f1503b11a3d3f899d58e (diff)
parentf0db230c461b77d0d24984d4f0dcd26f12e67076 (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.c8
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
}