From f334cb95d4102f1a7c1df8e79604adcd58f3447b Mon Sep 17 00:00:00 2001 From: scott-macg Date: Thu, 16 Jul 2026 00:14:05 -0400 Subject: [PATCH] board: fix LightsManager init call for Freenove ESP32-S3 Fixes a TypeError during boot on the Freenove ESP32-S3 board (AKA Hosyond ES3C28P) where LightsManager.init() was called with the deprecated num_leds keyword argument. This was preventing MPOS from initializing. --- internal_filesystem/lib/mpos/board/freenove_esp32s3_display.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal_filesystem/lib/mpos/board/freenove_esp32s3_display.py b/internal_filesystem/lib/mpos/board/freenove_esp32s3_display.py index 962a18bb..deeee6c1 100644 --- a/internal_filesystem/lib/mpos/board/freenove_esp32s3_display.py +++ b/internal_filesystem/lib/mpos/board/freenove_esp32s3_display.py @@ -214,7 +214,8 @@ def adc_to_voltage(raw_adc): # ============================== if __debug__: logger.debug("freenove_esp32s3_display.py: init NeoPixel") from mpos import LightsManager -LightsManager.init(neopixel_pin=42, num_leds=1) +LightsManager.init(neopixel_pin=42) +LightsManager.set_led_num(1) # ============================== # Step 7: Audio (ES8311 codec + FM8002E amplifier)