Skip to content

Commit

Permalink
Update rgb_underglow.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ReFil committed Nov 21, 2024
1 parent 4f99b1f commit d7cb985
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/rgb_underglow.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,10 @@ static void zmk_rgb_underglow_tick(struct k_work *work) {
zmk_rgb_underglow_effect_test();
break;
}
#if ZMK_BLE_IS_CENTRAL
if (state.animation_step == 0)
zmk_rgb_underglow_central_send();

#endif
int err = led_strip_update_rgb(led_strip, pixels, STRIP_NUM_PIXELS);
if (err < 0) {
LOG_ERR("Failed to update the RGB strip (%d)", err);
Expand Down

0 comments on commit d7cb985

Please sign in to comment.