Fix leftover reference to previous AW20216S EN pin definition (#23974)
This commit is contained in:
		
							parent
							
								
									a6ef34cd16
								
							
						
					
					
						commit
						aa11ef5bcf
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -107,12 +107,14 @@ led_config_t g_led_config = {{
 | 
				
			||||||
	2, 2, 2, 2, 2, 2, 2
 | 
						2, 2, 2, 2, 2, 2, 2
 | 
				
			||||||
} };
 | 
					} };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#    ifdef AW20216S_PW_EN_PIN_1
 | 
					#    ifdef AW20216S_PW_EN_PIN
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void keyboard_pre_init_user(void) {
 | 
					void keyboard_pre_init_kb(void) {
 | 
				
			||||||
    wait_ms(2000);
 | 
					    wait_ms(2000);
 | 
				
			||||||
    gpio_set_pin_output(AW20216S_PW_EN_PIN);
 | 
					    gpio_set_pin_output(AW20216S_PW_EN_PIN);
 | 
				
			||||||
    gpio_write_pin_high(AW20216S_PW_EN_PIN);
 | 
					    gpio_write_pin_high(AW20216S_PW_EN_PIN);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    keyboard_pre_init_user();
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
#    endif
 | 
					#    endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue