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

Co-authored-by: Jonavin <=>
master
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
1 changed files with 1 additions and 1 deletions

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;