1
0
Fork 0
forked from forks/qmk_firmware

Fix leftover reference to previous AW20216S EN pin definition (#23974)

This commit is contained in:
Kevin Horvat 2024-06-22 02:53:59 +02:00 committed by GitHub
parent a6ef34cd16
commit aa11ef5bcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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