fix K2 Pro caplock LED issue on startup

This commit is contained in:
lokher 2023-06-27 14:14:49 +08:00
parent 98b5af8936
commit 9902d781e6
8 changed files with 0 additions and 2 deletions

View File

@ -150,7 +150,6 @@ void keyboard_post_init_kb(void) {
power_on_indicator_timer_buffer = sync_timer_read32() | 1;
writePin(BAT_LOW_LED_PIN, BAT_LOW_LED_PIN_ON_STATE);
writePin(LED_CAPS_LOCK_PIN, LED_PIN_ON_STATE);
keyboard_post_init_user();
}

View File

@ -154,7 +154,6 @@ void keyboard_post_init_kb(void) {
power_on_indicator_timer_buffer = sync_timer_read32() == 0 ? 1 : sync_timer_read32();
writePin(BAT_LOW_LED_PIN, BAT_LOW_LED_PIN_ON_STATE);
writePin(LED_CAPS_LOCK_PIN, !LED_PIN_ON_STATE);
keyboard_post_init_user();
}