diff options
author | Jimmy Chan <jchan@linkedin.com> | 2017-02-06 10:03:48 -0800 |
---|---|---|
committer | Jimmy Chan <jchan@linkedin.com> | 2017-02-07 12:36:52 -0800 |
commit | 56d2198b3d85f112317b4b0d09d5cf6a5c915db8 (patch) | |
tree | 4793a10faaa502340a6dc9322f07856f451cf9de /keyboards/lets_split/split_util.c | |
parent | 048ef311dc5a92d736c8b0778334bfa82f8f42a8 (diff) | |
download | qmk_firmware-56d2198b3d85f112317b4b0d09d5cf6a5c915db8.tar.gz qmk_firmware-56d2198b3d85f112317b4b0d09d5cf6a5c915db8.zip |
rename I2C_MASTER_RIGHT to MASTER_RIGHT since this works for serial as well
Diffstat (limited to 'keyboards/lets_split/split_util.c')
-rw-r--r-- | keyboards/lets_split/split_util.c | 3 |
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(); |