summaryrefslogtreecommitdiffstats
path: root/quantum/split_common
diff options
context:
space:
mode:
authorDanny <nooges@users.noreply.github.com>2018-12-28 22:02:53 +0100
committerDrashna Jaelre <drashna@live.com>2018-12-28 22:02:53 +0100
commitc0859ac096f1e4251351bb0a5a04b3ae4a9451f4 (patch)
treef206fc2a87fc26b8fbe0bd523713aab9f9714ff1 /quantum/split_common
parent93b004c943a4b13bd640fc83000e910b72cb4640 (diff)
downloadqmk_firmware-c0859ac096f1e4251351bb0a5a04b3ae4a9451f4.tar.gz
qmk_firmware-c0859ac096f1e4251351bb0a5a04b3ae4a9451f4.tar.xz
Update split keyboard docs (#4735)
* Remove unused I2C_MASTER_RIGHT setting * Update documentation about split keyboard options
Diffstat (limited to 'quantum/split_common')
-rw-r--r--quantum/split_common/serial.c2
-rw-r--r--quantum/split_common/split_util.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/quantum/split_common/serial.c b/quantum/split_common/serial.c
index 4df8d103b..1315377a3 100644
--- a/quantum/split_common/serial.c
+++ b/quantum/split_common/serial.c
@@ -90,7 +90,7 @@
#ifndef SELECT_SOFT_SERIAL_SPEED
#define SELECT_SOFT_SERIAL_SPEED 1
-// 0: about 189kbps (Experiment only)
+// 0: about 189kbps (Experimental only)
// 1: about 137kbps (default)
// 2: about 75kbps
// 3: about 39kbps
diff --git a/quantum/split_common/split_util.c b/quantum/split_common/split_util.c
index e4475c535..da04c8d3f 100644
--- a/quantum/split_common/split_util.c
+++ b/quantum/split_common/split_util.c
@@ -36,8 +36,7 @@ static void setup_handedness(void) {
#ifdef EE_HANDS
isLeftHand = eeprom_read_byte(EECONFIG_HANDEDNESS);
#else
- // 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)
+ #ifdef(MASTER_RIGHT)
isLeftHand = !has_usb();
#else
isLeftHand = has_usb();