summaryrefslogtreecommitdiff
path: root/keyboards/lets_split/lets_split.c
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-09-28 20:21:19 -0500
committerIBNobody <ibnobody@gmail.com>2016-09-28 20:21:19 -0500
commit72e643998f7494b1ada5e2b36bb600554a4f6a14 (patch)
tree0091e3a9aab47eb2eb8036e3dc496a4972398e29 /keyboards/lets_split/lets_split.c
parent3d45860dc280c7595763256ecd4874220abf0ab2 (diff)
parent812219e8a0bf5f317c000d3c5247cdb93a6d7fff (diff)
Merge remote-tracking branch 'refs/remotes/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
}