|
|
@ -1209,7 +1209,6 @@ typedef struct PACKED {
|
|
|
|
static TwinkleState led_twinkle_state[RGBLED_NUM];
|
|
|
|
static TwinkleState led_twinkle_state[RGBLED_NUM];
|
|
|
|
|
|
|
|
|
|
|
|
void rgblight_effect_twinkle(animation_status_t *anim) {
|
|
|
|
void rgblight_effect_twinkle(animation_status_t *anim) {
|
|
|
|
|
|
|
|
|
|
|
|
bool random_color = anim->delta / 3;
|
|
|
|
bool random_color = anim->delta / 3;
|
|
|
|
bool restart = anim->pos == 0;
|
|
|
|
bool restart = anim->pos == 0;
|
|
|
|
anim->pos = 1;
|
|
|
|
anim->pos = 1;
|
|
|
|