Skip to content

Commit

Permalink
Revert "Split Common: Serial Backlight LED fix (#3586)"
Browse files Browse the repository at this point in the history
This reverts commit 3eabd79.
  • Loading branch information
cflee authored and drashna committed Sep 28, 2018
1 parent baebbc0 commit 96c9ebc
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions quantum/split_common/matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,24 +355,6 @@ void matrix_slave_scan(void) {
for (int i = 0; i < ROWS_PER_HAND; ++i) {
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();
}
Expand Down

0 comments on commit 96c9ebc

Please sign in to comment.