[Keyboard] fix short circuit in led_update_kb for quefrency rev3 (#13752)

Co-authored-by: Jonavin <=>
This commit is contained in:
Jonavin 2021-07-28 03:24:51 -04:00 committed by GitHub
parent ae2c2358ec
commit 9088df04c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ void matrix_init_kb(void) {
bool led_update_kb(led_t led_state) {
// 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);
}
return true;