small debug improvements

- don't set -DNDEBUG -> this flag is "not recommended"
- minor change in deserializeMap() WLED_DEBUG code
This commit is contained in:
Frank
2023-05-25 21:38:08 +02:00
parent 5edd5e6592
commit 71153ee832
2 changed files with 5 additions and 4 deletions

View File

@@ -146,7 +146,7 @@ build_flags =
-DSECURE_CLIENT=SECURE_CLIENT_BEARSSL
-DBEARSSL_SSL_BASIC
-D CORE_DEBUG_LEVEL=0
-D NDEBUG
;-D NDEBUG ;; WLEDMM espressif docs say NDEBUG is not recommended. see https://docs.espressif.com/projects/esp-idf/en/v4.4.4/esp32/api-guides/performance/speed.html#not-recommended
#build_flags for the IRremoteESP8266 library (enabled decoders have to appear here)
-D _IR_ENABLE_DEFAULT_=false
-D DECODE_HASH=true
@@ -977,6 +977,7 @@ build_flags =
[Debug_Flags]
build_flags =
-DDEBUG=1 ;; enable some debug assertions in the platform core
-D WLED_DEBUG ; lots of generic debug messages
-D SR_DEBUG ; some extra debug messages from audioreactive
; -D MIC_LOGGER ; for sound input monitoring & debugging (use arduino serial plotter)