diff options
Diffstat (limited to 'quantum/split_common')
| -rw-r--r-- | quantum/split_common/split_util.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/quantum/split_common/split_util.c b/quantum/split_common/split_util.c index 13b09d5b8..7c87de4d9 100644 --- a/quantum/split_common/split_util.c +++ b/quantum/split_common/split_util.c | |||
| @@ -106,14 +106,14 @@ void keyboard_slave_loop(void) { | |||
| 106 | 106 | ||
| 107 | // Read Backlight Info | 107 | // Read Backlight Info |
| 108 | #ifdef BACKLIGHT_ENABLE | 108 | #ifdef BACKLIGHT_ENABLE |
| 109 | if (BACKLIT_DIRTY) { | 109 | #ifdef USE_I2C |
| 110 | #ifdef USE_I2C | 110 | if (BACKLIT_DIRTY) { |
| 111 | backlight_set(i2c_slave_buffer[I2C_BACKLIT_START]); | 111 | backlight_set(i2c_slave_buffer[I2C_BACKLIT_START]); |
| 112 | #else // USE_SERIAL | 112 | BACKLIT_DIRTY = false; |
| 113 | backlight_set(serial_master_buffer[SERIAL_BACKLIT_START]); | 113 | } |
| 114 | #endif | 114 | #else // USE_SERIAL |
| 115 | BACKLIT_DIRTY = false; | 115 | backlight_set(serial_master_buffer[SERIAL_BACKLIT_START]); |
| 116 | } | 116 | #endif |
| 117 | #endif | 117 | #endif |
| 118 | // Read RGB Info | 118 | // Read RGB Info |
| 119 | #ifdef RGBLIGHT_ENABLE | 119 | #ifdef RGBLIGHT_ENABLE |
