From d7cb98511536cd9742d1a43b67d23ddc99b557b1 Mon Sep 17 00:00:00 2001 From: ReFil <31960031+ReFil@users.noreply.github.com> Date: Thu, 21 Nov 2024 14:17:47 +0000 Subject: [PATCH] Update rgb_underglow.c --- app/src/rgb_underglow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/rgb_underglow.c b/app/src/rgb_underglow.c index 8246452d18c..0697ab8ad84 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);