Remove sync preset loading (ugly core check)

WS buffer check for ESP32-S2
Delay for Serial init on CDC USB
This commit is contained in:
Blaz Kristan
2022-09-20 21:17:44 +02:00
parent fb00bef05f
commit 7824f9ee63
5 changed files with 23 additions and 8 deletions

View File

@@ -267,6 +267,9 @@ void WLED::setup()
Serial.begin(115200);
Serial.setTimeout(50);
#if defined(WLED_DEBUG) && (defined(CONFIG_IDF_TARGET_ESP32S2) || defined(CONFIG_IDF_TARGET_ESP32C3))
delay(2500); // allow CDC USB serial to initialise
#endif
DEBUG_PRINTLN();
DEBUG_PRINT(F("---WLED "));
DEBUG_PRINT(versionString);