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 (#5173)
  • Loading branch information
drashna authored and mechmerlin committed Feb 18, 2019
1 parent 149015e commit 100697e
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 100697e

Please sign in to comment.