mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-11-04 07:12:33 +01:00 
			
		
		
		
	Stop all notes on startup, if there is no song and audio is disabled to prevent continouse tone (#5173)
This commit is contained in:
		
							parent
							
								
									149015e799
								
							
						
					
					
						commit
						100697ebab
					
				@ -317,6 +317,8 @@ void audio_init() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  if (audio_config.enable) {
 | 
					  if (audio_config.enable) {
 | 
				
			||||||
    PLAY_SONG(startup_song);
 | 
					    PLAY_SONG(startup_song);
 | 
				
			||||||
 | 
					  } else {
 | 
				
			||||||
 | 
					    stop_all_notes();
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user