diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-09-25 22:43:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-25 22:43:38 -0400 |
commit | 812219e8a0bf5f317c000d3c5247cdb93a6d7fff (patch) | |
tree | 7604b39a67ecdb6be4c85a04db77ee383faee997 | |
parent | f24b3f4589720b796a0184b59e7b7b6d639ef336 (diff) | |
parent | c40ad11615b6cb1d08ec2d3b284d59df00c57c1f (diff) | |
download | qmk_firmware-812219e8a0bf5f317c000d3c5247cdb93a6d7fff.tar.gz |
Merge pull request #786 from mannkind/patch-1
Fix lets_split.c so that audio can be disabled
-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 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 } |