summaryrefslogtreecommitdiff
path: root/keyboards/lets_split/split_util.c
diff options
context:
space:
mode:
authorPriyadi Iman Nurcahyo <priyadi@priyadi.net>2017-02-09 01:01:24 +0700
committerPriyadi Iman Nurcahyo <priyadi@priyadi.net>2017-02-09 01:01:24 +0700
commit3f2c0bfa86150c9fc91d8f467ed3728beecbb480 (patch)
treed262d74a36b2be52199f976121365c83e536d4fa /keyboards/lets_split/split_util.c
parent3835b4bfcc0ef296a94c9fe78f27d5cada1ab73b (diff)
parent0a9fda968da521e373564895d6ea6774cd1480d9 (diff)
Merge branch 'master' into promethium
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();