[Keyboard] fix short circuit in led_update_kb for quefrency rev3 (#13752)
Co-authored-by: Jonavin <=>
This commit is contained in:
parent
ae2c2358ec
commit
9088df04c3
@ -24,7 +24,7 @@ void matrix_init_kb(void) {
|
|||||||
|
|
||||||
bool led_update_kb(led_t led_state) {
|
bool led_update_kb(led_t led_state) {
|
||||||
// Only update if left half
|
// Only update if left half
|
||||||
if (isLeftHand && led_update_user(led_state)) {
|
if (led_update_user(led_state) && isLeftHand) {
|
||||||
writePin(CAPS_LOCK_LED_PIN, !led_state.caps_lock);
|
writePin(CAPS_LOCK_LED_PIN, !led_state.caps_lock);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user