summaryrefslogtreecommitdiff
path: root/quantum/split_common
diff options
context:
space:
mode:
authorDasky <32983009+daskygit@users.noreply.github.com>2022-06-20 15:31:27 +0100
committerGitHub <noreply@github.com>2022-06-20 15:31:27 +0100
commit62eaec52e0b6aadfea629e7457d1d7d8647e840c (patch)
treea32ed74f565d2df31816f31869d6e6076137c909 /quantum/split_common
parent36d60769f8f7f25198cbada94d2f1b96a98c43d2 (diff)
downloadqmk_firmware-62eaec52e0b6aadfea629e7457d1d7d8647e840c.tar.gz
qmk_firmware-62eaec52e0b6aadfea629e7457d1d7d8647e840c.zip
Init eeconfig before reading handedness (#17256)
Diffstat (limited to 'quantum/split_common')
-rw-r--r--quantum/split_common/split_util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/split_common/split_util.c b/quantum/split_common/split_util.c
index 48b9cce6d4..4892b7f8d8 100644
--- a/quantum/split_common/split_util.c
+++ b/quantum/split_common/split_util.c
@@ -135,6 +135,10 @@ void split_pre_init(void) {
#if defined(SPLIT_HAND_PIN)
setPinInput(SPLIT_HAND_PIN);
wait_us(100);
+#elif defined(EE_HANDS)
+ if (!eeconfig_is_enabled()) {
+ eeconfig_init();
+ }
#endif
isLeftHand = is_keyboard_left();