From 1306cc041227594affa4b87b38713dd237db74cd 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 adfa2b82..68a0afa1 100644 --- a/wled00/wled.cpp +++ b/wled00/wled.cpp @@ -430,8 +430,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(); @@ -1030,6 +1030,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) {