summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/lxxt/lxxt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/lxxt/lxxt.c b/keyboards/lxxt/lxxt.c
index 0c4401c32b..67c9085d92 100644
--- a/keyboards/lxxt/lxxt.c
+++ b/keyboards/lxxt/lxxt.c
@@ -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 */
@@ -39,4 +39,4 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
return true;
}
-#endif \ No newline at end of file
+#endif