diff --git a/app/src/rgb_underglow.c b/app/src/rgb_underglow.c index 8246452d18c8..0697ab8ad84b 100644 --- a/app/src/rgb_underglow.c +++ b/app/src/rgb_underglow.c @@ -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);