summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorChristopher Hoage <iam@chrishoage.com>2022-11-26 15:07:35 -0800
committerGitHub <noreply@github.com>2022-11-27 10:07:35 +1100
commit9b51f02f45f72758a61d761c2d8e1b1696cce6e8 (patch)
tree8744f7d154077b4ff00f31e5c6d8e3c57859733e /quantum
parente12ca14af8fc1799357bbfffd156d53b4a51001c (diff)
Fix encoder_init call order in keyboard_init (#19140)
Diffstat (limited to 'quantum')
-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