]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Stop all notes on startup, if there is no song and audio is disabled to prevent conti...
authorDrashna Jaelre <drashna@live.com>
Mon, 18 Feb 2019 20:32:38 +0000 (12:32 -0800)
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>
Mon, 18 Feb 2019 20:32:38 +0000 (12:32 -0800)
quantum/audio/audio_arm.c

index f24ce4bd010861bf517db5dc6fe4cdc45065c768..a3a403957045555b268dd737e43989f1f8fe012f 100644 (file)
@@ -317,6 +317,8 @@ void audio_init() {
 
   if (audio_config.enable) {
     PLAY_SONG(startup_song);
 
   if (audio_config.enable) {
     PLAY_SONG(startup_song);
+  } else {
+    stop_all_notes();
   }
 
 }
   }
 
 }