Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Commit

Permalink
split_common: fix backlight update for serial boards
Browse files Browse the repository at this point in the history
  • Loading branch information
cflee authored and drashna committed Sep 28, 2018
1 parent 96c9ebc commit 7d2d0c6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions quantum/split_common/split_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,14 @@ void keyboard_slave_loop(void) {

// Read Backlight Info
#ifdef BACKLIGHT_ENABLE
if (BACKLIT_DIRTY) {
#ifdef USE_I2C
#ifdef USE_I2C
if (BACKLIT_DIRTY) {
backlight_set(i2c_slave_buffer[I2C_BACKLIT_START]);
#else // USE_SERIAL
backlight_set(serial_master_buffer[SERIAL_BACKLIT_START]);
#endif
BACKLIT_DIRTY = false;
}
BACKLIT_DIRTY = false;
}
#else // USE_SERIAL
backlight_set(serial_master_buffer[SERIAL_BACKLIT_START]);
#endif
#endif
// Read RGB Info
#ifdef RGBLIGHT_ENABLE
Expand Down

0 comments on commit 7d2d0c6

Please sign in to comment.