summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quantum/keyboard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/keyboard.c b/quantum/keyboard.c
index 83ade7829a..37675ded0b 100644
--- a/quantum/keyboard.c
+++ b/quantum/keyboard.c
@@ -354,6 +354,9 @@ void keyboard_init(void) {
#ifdef SPLIT_KEYBOARD
split_pre_init();
#endif
+#ifdef ENCODER_ENABLE
+ encoder_init();
+#endif
matrix_init();
quantum_init();
#if defined(CRC_ENABLE)
@@ -374,9 +377,6 @@ void keyboard_init(void) {
#ifdef RGBLIGHT_ENABLE
rgblight_init();
#endif
-#ifdef ENCODER_ENABLE
- encoder_init();
-#endif
#ifdef STENO_ENABLE_ALL
steno_init();
#endif