Fix rgblight layers when animations aren't enabled (#20097)
This commit is contained in:
parent
cd542a0f67
commit
7e54defa20
@ -174,6 +174,10 @@ typedef struct {
|
|||||||
uint8_t val;
|
uint8_t val;
|
||||||
} rgblight_segment_t;
|
} rgblight_segment_t;
|
||||||
|
|
||||||
|
// rgblight_set_layer_state doesn't take effect until the next time
|
||||||
|
// rgblight_task runs, so timers must be enabled for layers to work.
|
||||||
|
# define RGBLIGHT_USE_TIMER
|
||||||
|
|
||||||
# define RGBLIGHT_END_SEGMENT_INDEX (255)
|
# define RGBLIGHT_END_SEGMENT_INDEX (255)
|
||||||
# define RGBLIGHT_END_SEGMENTS \
|
# define RGBLIGHT_END_SEGMENTS \
|
||||||
{ RGBLIGHT_END_SEGMENT_INDEX, 0, 0, 0 }
|
{ RGBLIGHT_END_SEGMENT_INDEX, 0, 0, 0 }
|
||||||
|
Loading…
Reference in New Issue
Block a user