1
0
Fork 0
forked from forks/qmk_firmware

Fix encoder_init call order in keyboard_init (#19140)

This commit is contained in:
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

View file

@ -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