summaryrefslogtreecommitdiff
path: root/keyboards/keebio
diff options
context:
space:
mode:
authorJonavin <71780717+Jonavin@users.noreply.github.com>2021-07-28 03:24:51 -0400
committerGitHub <noreply@github.com>2021-07-28 00:24:51 -0700
commit9088df04c3e1c1b47115a5d2fb7373e424e0dcb5 (patch)
treed223d1d6dba02797528d3526e34f813b12900994 /keyboards/keebio
parentae2c2358ec9f581c3c1890edcb618297983746d1 (diff)
[Keyboard] fix short circuit in led_update_kb for quefrency rev3 (#13752)
Co-authored-by: Jonavin <=>
Diffstat (limited to 'keyboards/keebio')
-rw-r--r--keyboards/keebio/quefrency/rev3/rev3.c2
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;