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

master
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
1 changed files with 4 additions and 2 deletions

View File

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