From 82f90806095c3feeb14d3a0c1d2780484ebb6f65 Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Wed, 23 Aug 2023 13:19:48 +0200 Subject: [PATCH] show kernel debug messages in debug builds --- wled00/wled.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wled00/wled.cpp b/wled00/wled.cpp index a0c38365..f9706d94 100644 --- a/wled00/wled.cpp +++ b/wled00/wled.cpp @@ -433,8 +433,8 @@ void WLED::setup() #endif //Serial0.setDebugOutput(false); - #ifdef WLED_DEBUG - Serial.setDebugOutput(true); + #if CORE_DEBUG_LEVEL || defined(WLED_DEBUG_HEAP) || defined(WLED_DEBUG) + Serial.setDebugOutput(true); // enables kernel debug messages on Serial #endif USER_FLUSH(); delay(100); USER_PRINTLN(); @@ -1033,6 +1033,8 @@ void WLED::initInterfaces() } #endif +// aOtaEnabled=false; strcpy(cmDNS, ""); // WLEDMM use this to disable OTA and mDNS + //WLEDMM: add netdebug variables #ifdef WLED_DEBUG_HOST if (netDebugPrintIP[0] == 0) {