Fix leftover reference to previous AW20216S EN pin definition (#23974)
parent
a6ef34cd16
commit
aa11ef5bcf
|
@ -107,12 +107,14 @@ led_config_t g_led_config = {{
|
|||
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);
|
||||
gpio_set_pin_output(AW20216S_PW_EN_PIN);
|
||||
gpio_write_pin_high(AW20216S_PW_EN_PIN);
|
||||
|
||||
keyboard_pre_init_user();
|
||||
}
|
||||
# endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue