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 | |
parent | 149015e799b5d5df49f7e22aa7bce8f607afdd28 (diff) | |
download | firmware-100697ebab662b3c19299cf0002d77bac3f00ca6.tar.gz firmware-100697ebab662b3c19299cf0002d77bac3f00ca6.tar.bz2 firmware-100697ebab662b3c19299cf0002d77bac3f00ca6.zip |
Stop all notes on startup, if there is no song and audio is disabled to prevent continouse tone (#5173)
-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() { if (audio_config.enable) { PLAY_SONG(startup_song); + } else { + stop_all_notes(); } } |