summaryrefslogtreecommitdiffstats
path: root/quantum/split_common
diff options
context:
space:
mode:
authorChiang Fong Lee <myself@cflee.net>2018-08-18 06:19:29 +0200
committerDrashna Jaelre <drashna@live.com>2018-09-28 04:56:35 +0200
commit96c9ebc2e48b8f327bca2a2d5db77c0ab2ef6c8a (patch)
treec0f2114bcb8ad887d049e5c286faef727a6bc9d1 /quantum/split_common
parentbaebbc096702c3ecc0ee89b4fbf5749e79f02375 (diff)
downloadqmk_firmware-96c9ebc2e48b8f327bca2a2d5db77c0ab2ef6c8a.tar.gz
qmk_firmware-96c9ebc2e48b8f327bca2a2d5db77c0ab2ef6c8a.tar.xz
Revert "Split Common: Serial Backlight LED fix (#3586)"
Diffstat (limited to 'quantum/split_common')
-rw-r--r--quantum/split_common/matrix.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/quantum/split_common/matrix.c b/quantum/split_common/matrix.c
index 3d2983f2e..ff6738b58 100644
--- a/quantum/split_common/matrix.c
+++ b/quantum/split_common/matrix.c
@@ -356,24 +356,6 @@ void matrix_slave_scan(void) {
serial_slave_buffer[i] = matrix[offset+i];
}
#endif
-#ifdef USE_I2C
-#ifdef BACKLIGHT_ENABLE
- // Read backlight level sent from master and update level on slave
- backlight_set(i2c_slave_buffer[0]);
-#endif
- for (int i = 0; i < ROWS_PER_HAND; ++i) {
- i2c_slave_buffer[i+1] = matrix[offset+i];
- }
-#else // USE_SERIAL
- for (int i = 0; i < ROWS_PER_HAND; ++i) {
- serial_slave_buffer[i] = matrix[offset+i];
- }
-
-#ifdef BACKLIGHT_ENABLE
- // Read backlight level sent from master and update level on slave
- backlight_set(serial_master_buffer[SERIAL_BACKLIT_START]);
-#endif
-#endif
matrix_slave_scan_user();
}