mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-30 04:37:14 +06:00
16 lines
554 B
C
16 lines
554 B
C
|
#if defined(USE_I2C) || defined(EH)
|
||
|
// When using I2C, using rgblight implicitly involves split support.
|
||
|
#if defined(RGBLIGHT_ENABLE) && !defined(RGBLIGHT_SPLIT)
|
||
|
#define RGBLIGHT_SPLIT
|
||
|
#endif
|
||
|
|
||
|
#else // use serial
|
||
|
// When using serial, the user must define RGBLIGHT_SPLIT explicitly
|
||
|
// in config.h as needed.
|
||
|
// see quantum/rgblight_post_config.h
|
||
|
#if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_SPLIT)
|
||
|
// When using serial and RGBLIGHT_SPLIT need separate transaction
|
||
|
#define SERIAL_USE_MULTI_TRANSACTION
|
||
|
#endif
|
||
|
#endif
|