aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-02-18 12:32:38 -0800
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-18 12:32:38 -0800
commit100697ebab662b3c19299cf0002d77bac3f00ca6 (patch)
treebbf6ff8bdb1671729c4202e2ce26bc561075be1b
parent149015e799b5d5df49f7e22aa7bce8f607afdd28 (diff)
downloadfirmware-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.c2
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();
}
}