summaryrefslogtreecommitdiff
path: root/keyboards/lets_split/split_util.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-02-07 15:46:29 -0500
committerGitHub <noreply@github.com>2017-02-07 15:46:29 -0500
commitf5c8c5d4c854c5ae4dc586066c9b03557786c4c2 (patch)
tree4793a10faaa502340a6dc9322f07856f451cf9de /keyboards/lets_split/split_util.c
parentd639bd2021b697849bb11e521fc142292ab7e023 (diff)
parent56d2198b3d85f112317b4b0d09d5cf6a5c915db8 (diff)
Merge pull request #1070 from jimmyhchan/fixSplit
Lets split readme eeprom master hand fixes
Diffstat (limited to 'keyboards/lets_split/split_util.c')
-rw-r--r--keyboards/lets_split/split_util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/lets_split/split_util.c b/keyboards/lets_split/split_util.c
index 461921798f..226dc18816 100644
--- a/keyboards/lets_split/split_util.c
+++ b/keyboards/lets_split/split_util.c
@@ -21,7 +21,8 @@ static void setup_handedness(void) {
#ifdef EE_HANDS
isLeftHand = eeprom_read_byte(EECONFIG_HANDEDNESS);
#else
- #ifdef I2C_MASTER_RIGHT
+ // I2C_MASTER_RIGHT is deprecated use MASTER_RIGHT instead since this works for both serial and i2c
+ #if defined(I2C_MASTER_RIGHT) || defined(MASTER_RIGHT)
isLeftHand = !has_usb();
#else
isLeftHand = has_usb();