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 #endif
//Serial0.setDebugOutput(false); //Serial0.setDebugOutput(false);
#ifdef WLED_DEBUG #if CORE_DEBUG_LEVEL || defined(WLED_DEBUG_HEAP) || defined(WLED_DEBUG)
Serial.setDebugOutput(true); Serial.setDebugOutput(true); // enables kernel debug messages on Serial
#endif #endif
USER_FLUSH(); delay(100); USER_FLUSH(); delay(100);
USER_PRINTLN(); USER_PRINTLN();
@@ -1030,6 +1030,8 @@ void WLED::initInterfaces()
} }
#endif #endif
// aOtaEnabled=false; strcpy(cmDNS, ""); // WLEDMM use this to disable OTA and mDNS
//WLEDMM: add netdebug variables //WLEDMM: add netdebug variables
#ifdef WLED_DEBUG_HOST #ifdef WLED_DEBUG_HOST
if (netDebugPrintIP[0] == 0) { if (netDebugPrintIP[0] == 0) {