diff options
author | Drashna Jaelre <drashna@live.com> | 2019-02-18 12:32:38 -0800 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-02-18 12:32:38 -0800 |
commit | 100697ebab662b3c19299cf0002d77bac3f00ca6 (patch) | |
tree | bbf6ff8bdb1671729c4202e2ce26bc561075be1b /quantum/audio/audio_arm.c | |
parent | 149015e799b5d5df49f7e22aa7bce8f607afdd28 (diff) | |
download | qmk_firmware-100697ebab662b3c19299cf0002d77bac3f00ca6.tar.gz qmk_firmware-100697ebab662b3c19299cf0002d77bac3f00ca6.zip |
Stop all notes on startup, if there is no song and audio is disabled to prevent continouse tone (#5173)
Diffstat (limited to 'quantum/audio/audio_arm.c')
-rw-r--r-- | quantum/audio/audio_arm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/audio/audio_arm.c b/quantum/audio/audio_arm.c index f24ce4bd0..a3a403957 100644 --- a/quantum/audio/audio_arm.c +++ b/quantum/audio/audio_arm.c | |||
@@ -317,6 +317,8 @@ void audio_init() { | |||
317 | 317 | ||
318 | if (audio_config.enable) { | 318 | if (audio_config.enable) { |
319 | PLAY_SONG(startup_song); | 319 | PLAY_SONG(startup_song); |
320 | } else { | ||
321 | stop_all_notes(); | ||
320 | } | 322 | } |
321 | 323 | ||
322 | } | 324 | } |