diff options
author | Jonavin <71780717+Jonavin@users.noreply.github.com> | 2021-07-28 03:24:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-28 00:24:51 -0700 |
commit | 9088df04c3e1c1b47115a5d2fb7373e424e0dcb5 (patch) | |
tree | d223d1d6dba02797528d3526e34f813b12900994 | |
parent | ae2c2358ec9f581c3c1890edcb618297983746d1 (diff) | |
download | qmk_firmware-9088df04c3e1c1b47115a5d2fb7373e424e0dcb5.tar.gz qmk_firmware-9088df04c3e1c1b47115a5d2fb7373e424e0dcb5.zip |
[Keyboard] fix short circuit in led_update_kb for quefrency rev3 (#13752)
Co-authored-by: Jonavin <=>
-rw-r--r-- | keyboards/keebio/quefrency/rev3/rev3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/keebio/quefrency/rev3/rev3.c b/keyboards/keebio/quefrency/rev3/rev3.c index 63e67bf59c..40771e2c68 100644 --- a/keyboards/keebio/quefrency/rev3/rev3.c +++ b/keyboards/keebio/quefrency/rev3/rev3.c @@ -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; |