NetworkDebugPrinter packet optimization.

This commit is contained in:
Blaž Kristan
2022-11-11 14:39:47 +01:00
parent c0a783198e
commit 77f04d913a
5 changed files with 38 additions and 24 deletions

View File

@@ -218,6 +218,7 @@ void WLED::loop()
debugTime = millis();
}
loops++;
DEBUG_FLUSH();
#endif // WLED_DEBUG
toki.resetTick();
@@ -446,6 +447,8 @@ void WLED::setup()
#if defined(ARDUINO_ARCH_ESP32) && defined(WLED_DISABLE_BROWNOUT_DET)
WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 1); //enable brownout detector
#endif
DEBUG_FLUSH();
}
void WLED::beginStrip()