rgb_underglow: refresh more frequently for smoother RGB underglow
This commit is contained in:
parent
edf5c0814f
commit
319f03fd01
1 changed files with 2 additions and 2 deletions
|
|
@ -274,7 +274,7 @@ static int zmk_rgb_underglow_init(void) {
|
|||
#endif
|
||||
|
||||
if (state.on) {
|
||||
k_timer_start(&underglow_tick, K_NO_WAIT, K_MSEC(50));
|
||||
k_timer_start(&underglow_tick, K_NO_WAIT, K_MSEC(25));
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
@ -312,7 +312,7 @@ int zmk_rgb_underglow_on(void) {
|
|||
|
||||
state.on = true;
|
||||
state.animation_step = 0;
|
||||
k_timer_start(&underglow_tick, K_NO_WAIT, K_MSEC(50));
|
||||
k_timer_start(&underglow_tick, K_NO_WAIT, K_MSEC(25));
|
||||
|
||||
return zmk_rgb_underglow_save_state();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue