From 9b51f02f45f72758a61d761c2d8e1b1696cce6e8 Mon Sep 17 00:00:00 2001 From: Christopher Hoage Date: Sat, 26 Nov 2022 15:07:35 -0800 Subject: Fix encoder_init call order in keyboard_init (#19140) --- quantum/keyboard.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'quantum') diff --git a/quantum/keyboard.c b/quantum/keyboard.c index 83ade7829a..37675ded0b 100644 --- a/quantum/keyboard.c +++ b/quantum/keyboard.c @@ -353,6 +353,9 @@ void keyboard_init(void) { #endif #ifdef SPLIT_KEYBOARD split_pre_init(); +#endif +#ifdef ENCODER_ENABLE + encoder_init(); #endif matrix_init(); quantum_init(); @@ -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 -- cgit v1.2.3