소스 검색

Stop all notes on startup, if there is no song and audio is disabled to prevent continouse tone (#5173)

Drashna Jaelre 6 년 전
부모
커밋
100697ebab
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      quantum/audio/audio_arm.c

+ 2 - 0
quantum/audio/audio_arm.c

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