diff options
Diffstat (limited to 'quantum/split_common/split_util.c')
-rw-r--r-- | quantum/split_common/split_util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/quantum/split_common/split_util.c b/quantum/split_common/split_util.c index 5114b188e..d16a98977 100644 --- a/quantum/split_common/split_util.c +++ b/quantum/split_common/split_util.c | |||
@@ -7,7 +7,6 @@ | |||
7 | #include "quantum.h" | 7 | #include "quantum.h" |
8 | 8 | ||
9 | #ifdef EE_HANDS | 9 | #ifdef EE_HANDS |
10 | # include "tmk_core/common/eeprom.h" | ||
11 | # include "eeconfig.h" | 10 | # include "eeconfig.h" |
12 | #endif | 11 | #endif |
13 | 12 | ||
@@ -23,7 +22,7 @@ __attribute__((weak)) bool is_keyboard_left(void) { | |||
23 | setPinInput(SPLIT_HAND_PIN); | 22 | setPinInput(SPLIT_HAND_PIN); |
24 | return readPin(SPLIT_HAND_PIN); | 23 | return readPin(SPLIT_HAND_PIN); |
25 | #elif defined(EE_HANDS) | 24 | #elif defined(EE_HANDS) |
26 | return eeprom_read_byte(EECONFIG_HANDEDNESS); | 25 | return eeconfig_read_handedness(); |
27 | #elif defined(MASTER_RIGHT) | 26 | #elif defined(MASTER_RIGHT) |
28 | return !is_keyboard_master(); | 27 | return !is_keyboard_master(); |
29 | #endif | 28 | #endif |