Merge pull request #786 from mannkind/patch-1

Fix lets_split.c so that audio can be disabled
This commit is contained in:
Jack Humbert 2016-09-25 22:43:38 -04:00 committed by GitHub
commit 812219e8a0
1 changed files with 5 additions and 3 deletions

View File

@ -24,7 +24,9 @@ void matrix_init_kb(void) {
};
void shutdown_user(void) {
#ifdef AUDIO_ENABLE
PLAY_NOTE_ARRAY(tone_goodbye, false, 0);
_delay_ms(150);
stop_all_notes();
#endif
}