show kernel debug messages in debug builds

This commit is contained in:
Frank
2023-08-23 13:19:48 +02:00
parent 023279c702
commit 1306cc0412

View File

@@ -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) {