forked from forks/qmk_firmware
fix build break. when RGB_MATRIX_ENABLE defined
This commit is contained in:
parent
e6b3cf0ab5
commit
b50f924dd8
|
|
@ -32,6 +32,19 @@
|
|||
#endif
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#include "rgblight.h"
|
||||
#else
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
/* dummy define RGBLIGHT_MODE_xxxx */
|
||||
#define RGBLIGHT_H
|
||||
#define _RGBM_SINGLE(sym) RGBLIGHT_MODE_ ## sym,
|
||||
#define _RGBM_MULTI(sym) RGBLIGHT_MODE_ ## sym,
|
||||
#define _RGBM_TMP(sym) RGBLIGHT_MODE_ ## sym,
|
||||
enum RGBLIGHT_EFFECT_MODE {
|
||||
RGBLIGHT_MODE_zero = 0,
|
||||
#include "rgblight.h"
|
||||
RGBLIGHT_MODE_end
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef SPLIT_KEYBOARD
|
||||
|
|
|
|||
Loading…
Reference in a new issue