summaryrefslogtreecommitdiff
path: root/keyboards/lets_split/split_util.c
diff options
context:
space:
mode:
authormilestogo <milestogo@users.noreply.github.com>2017-02-09 23:28:15 -0800
committermilestogo <milestogo@users.noreply.github.com>2017-02-09 23:28:15 -0800
commit41c93575a838e9b201ca113165085f47198e109d (patch)
tree897558fe82aa473d9461ba350c939c75a3ac6b5f /keyboards/lets_split/split_util.c
parentb0dfb037dc0b8b20fd87b3c88449a2ce20ff80e1 (diff)
parent6c462e0c0155a892a6efd0881086f8a7032316d2 (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
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();