Skip to content

Commit

Permalink
[Keyboard] fix short circuit in led_update_kb for quefrency rev3 (qmk…
Browse files Browse the repository at this point in the history
…#13752)

Co-authored-by: Jonavin <=>
  • Loading branch information
Jonavin authored and nhongooi committed Dec 5, 2021
1 parent 9022c26 commit 0e21ef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyboards/keebio/quefrency/rev3/rev3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0e21ef0

Please sign in to comment.