Skip to content

Commit d45882f

Browse files
committed
rgb_underglow: refresh more frequently for smoother RGB underglow
1 parent f72f415 commit d45882f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/rgb_underglow.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ static int zmk_rgb_underglow_init(void) {
280280
#endif
281281

282282
if (state.on) {
283-
k_timer_start(&underglow_tick, K_NO_WAIT, K_MSEC(50));
283+
k_timer_start(&underglow_tick, K_NO_WAIT, K_MSEC(25));
284284
}
285285

286286
return 0;
@@ -318,7 +318,7 @@ int zmk_rgb_underglow_on(void) {
318318

319319
state.on = true;
320320
state.animation_step = 0;
321-
k_timer_start(&underglow_tick, K_NO_WAIT, K_MSEC(50));
321+
k_timer_start(&underglow_tick, K_NO_WAIT, K_MSEC(25));
322322

323323
return zmk_rgb_underglow_save_state();
324324
}

0 commit comments

Comments
 (0)