|
|
@ -106,14 +106,14 @@ void keyboard_slave_loop(void) {
|
|
|
|
|
|
|
|
|
|
|
|
// Read Backlight Info
|
|
|
|
// Read Backlight Info
|
|
|
|
#ifdef BACKLIGHT_ENABLE
|
|
|
|
#ifdef BACKLIGHT_ENABLE
|
|
|
|
if (BACKLIT_DIRTY) {
|
|
|
|
#ifdef USE_I2C
|
|
|
|
#ifdef USE_I2C
|
|
|
|
if (BACKLIT_DIRTY) {
|
|
|
|
backlight_set(i2c_slave_buffer[I2C_BACKLIT_START]);
|
|
|
|
backlight_set(i2c_slave_buffer[I2C_BACKLIT_START]);
|
|
|
|
#else // USE_SERIAL
|
|
|
|
BACKLIT_DIRTY = false;
|
|
|
|
backlight_set(serial_master_buffer[SERIAL_BACKLIT_START]);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#else // USE_SERIAL
|
|
|
|
BACKLIT_DIRTY = false;
|
|
|
|
backlight_set(serial_master_buffer[SERIAL_BACKLIT_START]);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
// Read RGB Info
|
|
|
|
// Read RGB Info
|
|
|
|
#ifdef RGBLIGHT_ENABLE
|
|
|
|
#ifdef RGBLIGHT_ENABLE
|
|
|
|