#include "timer.h"
#include "split_flags.h"
-#ifdef RGBLIGHT_ENABLE
-# include "rgblight.h"
-#endif
#ifdef BACKLIGHT_ENABLE
# include "backlight.h"
#endif
#if defined(USE_I2C) || defined(EH)
# include "i2c.h"
-#else
-# include "serial.h"
#endif
volatile bool isLeftHand = true;
BACKLIT_DIRTY = false;
}
#else // USE_SERIAL
- backlight_set(serial_master_buffer[SERIAL_BACKLIT_START]);
+ backlight_set(serial_m2s_buffer.backlight_level);
#endif
#endif
// Read RGB Info
sei();
}
#else // USE_SERIAL
+ #ifdef RGBLIGHT_SPLIT
// Add serial implementation for RGB here
+ #endif
#endif
#endif
}