summaryrefslogtreecommitdiffstats
path: root/quantum/audio
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-02-18 21:32:38 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-18 21:32:38 +0100
commit100697ebab662b3c19299cf0002d77bac3f00ca6 (patch)
treebbf6ff8bdb1671729c4202e2ce26bc561075be1b /quantum/audio
parent149015e799b5d5df49f7e22aa7bce8f607afdd28 (diff)
downloadqmk_firmware-100697ebab662b3c19299cf0002d77bac3f00ca6.tar.gz
qmk_firmware-100697ebab662b3c19299cf0002d77bac3f00ca6.tar.xz
Stop all notes on startup, if there is no song and audio is disabled to prevent continouse tone (#5173)
Diffstat (limited to 'quantum/audio')
-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();
}
}