From 22e302be34d6cb5bdbb0a104a489a303a85741c8 Mon Sep 17 00:00:00 2001 From: Spooks <62370103+Spooks4576@users.noreply.github.com> Date: Tue, 5 Nov 2024 01:05:26 -0700 Subject: [PATCH] Update main.c --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.c b/main/main.c index 7de4d930..87ed81be 100644 --- a/main/main.c +++ b/main/main.c @@ -75,7 +75,7 @@ void app_main(void) { #endif #ifdef CONFIG_LED_DATA_PIN - rgb_manager_init(&rgb_manager, LED_DATA_PIN, NUM_LEDS, LED_ORDER, LED_MODEL_WS2812, GPIO_NUM_NC, GPIO_NUM_NC, GPIO_NUM_NC); + rgb_manager_init(&rgb_manager, CONFIG_LED_DATA_PIN, CONFIG_NUM_LEDS, LED_ORDER, LED_MODEL_WS2812, GPIO_NUM_NC, GPIO_NUM_NC, GPIO_NUM_NC); if (settings_get_rgb_mode(&G_Settings) == 1) {