mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 05:12:33 +01:00 
			
		
		
		
	fixes plover start sound
This commit is contained in:
		
							parent
							
								
									9edcfcdf6f
								
							
						
					
					
						commit
						9ab7098c83
					
				| @ -319,15 +319,13 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | |||||||
|         case 12: |         case 12: | ||||||
|           if (record->event.pressed) { |           if (record->event.pressed) { | ||||||
|             #ifdef AUDIO_ENABLE |             #ifdef AUDIO_ENABLE | ||||||
|  |               stop_all_notes(); | ||||||
|               PLAY_NOTE_ARRAY(tone_plover, false, 0); |               PLAY_NOTE_ARRAY(tone_plover, false, 0); | ||||||
|             #endif |             #endif | ||||||
|             layer_off(_RAISE); |             layer_off(_RAISE); | ||||||
|             layer_off(_LOWER); |             layer_off(_LOWER); | ||||||
|             layer_off(_ADJUST); |             layer_off(_ADJUST); | ||||||
|             layer_off(_MUSIC); |             layer_off(_MUSIC); | ||||||
|             #ifdef AUDIO_ENABLE |  | ||||||
|               stop_all_notes(); |  | ||||||
|             #endif |  | ||||||
|             layer_on(_PLOVER); |             layer_on(_PLOVER); | ||||||
|             if (!eeconfig_is_enabled()) { |             if (!eeconfig_is_enabled()) { | ||||||
|                 eeconfig_init(); |                 eeconfig_init(); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jack Humbert
						Jack Humbert