aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/lets_split/lets_split.c
diff options
context:
space:
mode:
authorIBNobody <protospherex@gmail.com>2016-10-06 20:17:16 -0500
committerIBNobody <protospherex@gmail.com>2016-10-06 20:17:16 -0500
commit973f526bb4928bf3aec6067aa444b31ace997c8a (patch)
tree7604b39a67ecdb6be4c85a04db77ee383faee997 /keyboards/lets_split/lets_split.c
parent24a953ae64adc8e0c26059fbe76088eb65d90d9e (diff)
parent812219e8a0bf5f317c000d3c5247cdb93a6d7fff (diff)
downloadfirmware-973f526bb4928bf3aec6067aa444b31ace997c8a.tar.gz
firmware-973f526bb4928bf3aec6067aa444b31ace997c8a.tar.bz2
firmware-973f526bb4928bf3aec6067aa444b31ace997c8a.zip
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 574c116a7..c505d3a6e 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
}