restore missing build flag for esp32

this flag got lost between 0.15 and 0.16.

Even when NO classic esp32 has USB-CDC., it seems that omitting the flag can cause strange behavior in the arduino-esp32 framework.
This commit is contained in:
Frank
2025-11-10 16:52:24 +01:00
parent a73a2aaa33
commit 7addae9c24

View File

@@ -294,6 +294,7 @@ build_flags = -g
-Wshadow=compatible-local ;; emit warning in case a local variable "shadows" another local one
-DARDUINO_ARCH_ESP32 -DESP32
${esp32_all_variants.build_flags}
-DARDUINO_USB_CDC_ON_BOOT=0 ;; this flag is mandatory for "classic ESP32" when building with arduino-esp32 >=2.0.3
-D WLED_ENABLE_DMX_INPUT
lib_deps =
${esp32_all_variants.lib_deps}