]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/lets_split/split_util.c
Merge remote-tracking branch 'upstream/master'
[qmk_firmware.git] / keyboards / lets_split / split_util.c
index 461921798f912215ac8b48173e424c9e641d39bd..226dc1881631003342c2f0874d968ef352a62908 100644 (file)
@@ -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();