]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - quantum/audio/audio_arm.c
Added songs from Nier and Nier Automata
[qmk_firmware.git] / quantum / audio / audio_arm.c
index f24ce4bd010861bf517db5dc6fe4cdc45065c768..6760015ef462700d20249c79cc009346265b3e2b 100644 (file)
@@ -54,7 +54,7 @@ uint16_t notes_count;
 bool     notes_repeat;
 bool     note_resting = false;
 
-uint8_t current_note = 0;
+uint16_t current_note = 0;
 uint8_t rest_counter = 0;
 
 #ifdef VIBRATO_ENABLE
@@ -317,6 +317,8 @@ void audio_init() {
 
   if (audio_config.enable) {
     PLAY_SONG(startup_song);
+  } else {
+    stop_all_notes();
   }
 
 }