Skip to content

Commit

Permalink
Fix leftover reference to previous AW20216S EN pin definition (qmk#23974
Browse files Browse the repository at this point in the history
)
  • Loading branch information
horvatkevin authored and sqrtnull committed Oct 22, 2024
1 parent e7d434c commit 82b3e42
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions keyboards/gmmk/numpad/numpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 82b3e42

Please sign in to comment.