diff --git a/platformio_tasmota_cenv_sample.ini b/platformio_tasmota_cenv_sample.ini index d6816bccd..269445048 100644 --- a/platformio_tasmota_cenv_sample.ini +++ b/platformio_tasmota_cenv_sample.ini @@ -52,6 +52,7 @@ platform_packages = framework-arduinoespressif32 @ https://github.com/ build_unflags = ${esp32_defaults.build_unflags} -Wswitch-unreachable -mtarget-align + -DNDEBUG build_flags = ${esp32_defaults.build_flags} -Wno-switch-unreachable ;-DESP32_STAGE=true