summaryrefslogtreecommitdiffstats
path: root/keyboards/lets_split/lets_split.c
diff options
context:
space:
mode:
authorxyverz <xyverz@gmail.com>2016-09-30 23:16:50 -0700
committerxyverz <xyverz@gmail.com>2016-09-30 23:16:50 -0700
commite69e4c1ef2cd553597e10d1ae5b0384d29f2c16f (patch)
tree957641d33f60e75b8fd747da11ed3bca06f0cfab /keyboards/lets_split/lets_split.c
parente3c3170610561042df3d67f358c15553878a2012 (diff)
parent35e6870e5c8943c044187256e01c96ef400ca067 (diff)
Merge remote-tracking branch 'jackhumbert/master'
Diffstat (limited to 'keyboards/lets_split/lets_split.c')
-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
}