Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
qmk-bot committed Aug 23, 2023
2 parents 2b7f1b0 + 90d1b32 commit 1cf040a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keyboards/lxxt/lxxt.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#if defined(ENCODER_ENABLE)

bool encoder_update_kb(uint8_t index, bool clockwise) {
if (!encoder_update_kb(index, clockwise)) {
if (!encoder_update_user(index, clockwise)) {
return false; /* Don't process further events if user function exists and returns false */
}
if (index == 0) { /* First encoder */
Expand All @@ -39,4 +39,4 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
return true;
}

#endif
#endif

0 comments on commit 1cf040a

Please sign in to comment.