Fix encoder_init call order in keyboard_init (#19140)

master
Christopher Hoage 2022-11-26 15:07:35 -08:00 committed by GitHub
parent e12ca14af8
commit 9b51f02f45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -353,6 +353,9 @@ void keyboard_init(void) {
#endif #endif
#ifdef SPLIT_KEYBOARD #ifdef SPLIT_KEYBOARD
split_pre_init(); split_pre_init();
#endif
#ifdef ENCODER_ENABLE
encoder_init();
#endif #endif
matrix_init(); matrix_init();
quantum_init(); quantum_init();
@ -374,9 +377,6 @@ void keyboard_init(void) {
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
rgblight_init(); rgblight_init();
#endif #endif
#ifdef ENCODER_ENABLE
encoder_init();
#endif
#ifdef STENO_ENABLE_ALL #ifdef STENO_ENABLE_ALL
steno_init(); steno_init();
#endif #endif