Unconditionally call led_init_ports (#12116)
* Unconditionally call led_init_ports * Another call to led_init_ports
This commit is contained in:
		
							parent
							
								
									2bc7511b9e
								
							
						
					
					
						commit
						3f419dc872
					
				
					 30 changed files with 20 additions and 215 deletions
				
			
		| 
						 | 
				
			
			@ -270,7 +270,7 @@ void led_set_layer(int layer) {
 | 
			
		|||
/*
 | 
			
		||||
 * Prepare all LED ports for output
 | 
			
		||||
 */
 | 
			
		||||
void led_init_ports() {
 | 
			
		||||
void led_init_ports_user() {
 | 
			
		||||
    setPinOutput(D7);  // Switch 1 LED
 | 
			
		||||
    setPinOutput(C6);  // Switch 2 LED Pin1
 | 
			
		||||
    setPinOutput(C7);  // Switch 2 LED Pin2
 | 
			
		||||
| 
						 | 
				
			
			@ -291,7 +291,7 @@ layer_state_t layer_state_set_user(layer_state_t state) {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
void matrix_init_user(void) {
 | 
			
		||||
    led_init_ports();
 | 
			
		||||
    led_init_ports_user();
 | 
			
		||||
    led_init_animation();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue