From 87354a9814fe431604a8622d92ebc8917cc097a8 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Thu, 19 Dec 2024 09:16:25 +0100 Subject: [PATCH] Define LCD_LL_CLK_FRAC_DIV_N_MAX if missing This should later be transferred to NeoPixelBus repo --- esphome/components/neopixelbus/neopixelbus_light.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/esphome/components/neopixelbus/neopixelbus_light.h b/esphome/components/neopixelbus/neopixelbus_light.h index 5233886075..1464704ec5 100644 --- a/esphome/components/neopixelbus/neopixelbus_light.h +++ b/esphome/components/neopixelbus/neopixelbus_light.h @@ -9,6 +9,10 @@ #include "esphome/components/light/light_output.h" #include "esphome/components/light/addressable_light.h" +#if defined(CONFIG_IDF_TARGET_ESP32S3) && !defined(LCD_LL_CLK_FRAC_DIV_N_MAX) +#define LCD_LL_CLK_FRAC_DIV_N_MAX LCD_LL_CLOCK_PRESCALE_MAX +#endif + #include "NeoPixelBus.h" namespace esphome {