diff options
author | Joel Challis <git@zvecr.com> | 2019-09-24 15:24:12 +0100 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-01-09 08:57:11 +0900 |
commit | a15119dc6f85e35b061cf41a4da37ac15a9cb16b (patch) | |
tree | dd68a41b36b7401b95d82091cdb47aa1cfa802b7 /quantum/split_common | |
parent | 1f66fd1a3c31911f083d4f0f45bd24446d15bfb1 (diff) |
ARM split - Add bootmagic/magic keycodes for setting handedness (#6545)
* Add docs on bootmagic/magic keycodes for setting handedness
* Clang format fixes
* Maintain backwards compatibility
* Maintain backwards compatibility
Diffstat (limited to 'quantum/split_common')
-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 5114b188ec..d16a989770 100644 --- a/quantum/split_common/split_util.c +++ b/quantum/split_common/split_util.c @@ -7,7 +7,6 @@ #include "quantum.h" #ifdef EE_HANDS -# include "tmk_core/common/eeprom.h" # include "eeconfig.h" #endif @@ -23,7 +22,7 @@ __attribute__((weak)) bool is_keyboard_left(void) { setPinInput(SPLIT_HAND_PIN); return readPin(SPLIT_HAND_PIN); #elif defined(EE_HANDS) - return eeprom_read_byte(EECONFIG_HANDEDNESS); + return eeconfig_read_handedness(); #elif defined(MASTER_RIGHT) return !is_keyboard_master(); #endif |