forked from mirrors/qmk_userspace
rename I2C_MASTER_RIGHT to MASTER_RIGHT since this works for serial as well
This commit is contained in:
parent
048ef311dc
commit
56d2198b3d
4 changed files with 10 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue