mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 08:27:56 +06:00
fix K2 Pro caplock LED issue on startup
This commit is contained in:
parent
98b5af8936
commit
9902d781e6
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user