show kernel debug messages in debug builds
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user