mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Init eeconfig before reading handedness (#17256)
This commit is contained in:
parent
36d60769f8
commit
62eaec52e0
|
@ -135,6 +135,10 @@ void split_pre_init(void) {
|
||||||
#if defined(SPLIT_HAND_PIN)
|
#if defined(SPLIT_HAND_PIN)
|
||||||
setPinInput(SPLIT_HAND_PIN);
|
setPinInput(SPLIT_HAND_PIN);
|
||||||
wait_us(100);
|
wait_us(100);
|
||||||
|
#elif defined(EE_HANDS)
|
||||||
|
if (!eeconfig_is_enabled()) {
|
||||||
|
eeconfig_init();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
isLeftHand = is_keyboard_left();
|
isLeftHand = is_keyboard_left();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue