Skip to content

Commit

Permalink
Stop all notes on startup, if there is no song and audio is disabled …
Browse files Browse the repository at this point in the history
…to prevent continouse tone (qmk#5173)
  • Loading branch information
drashna authored and dlafrance committed May 24, 2019
1 parent 2521565 commit 51cb343
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions quantum/audio/audio_arm.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ void audio_init() {

if (audio_config.enable) {
PLAY_SONG(startup_song);
} else {
stop_all_notes();
}

}
Expand Down

0 comments on commit 51cb343

Please sign in to comment.