diff --git a/src/SerialConsole.cpp b/src/SerialConsole.cpp index e7355db29..0b6b9ee24 100644 --- a/src/SerialConsole.cpp +++ b/src/SerialConsole.cpp @@ -33,7 +33,7 @@ SerialConsole::SerialConsole() : StreamAPI(&Port), RedirectablePrint(&Port), con // setDestination(&noopPrint); for testing, try turning off 'all' debug output and see what leaks Port.begin(SERIAL_BAUD); -#ifdef ARCH_NRF52 +#if defined(ARCH_NRF52) || defined(CONFIG_IDF_TARGET_ESP32S2) || defined(CONFIG_IDF_TARGET_ESP32S3) time_t timeout = millis(); while (!Port) { if ((millis() - timeout) < 5000) { diff --git a/src/platform/esp32/main-esp32.cpp b/src/platform/esp32/main-esp32.cpp index e36a8cfd8..2fcdf9318 100644 --- a/src/platform/esp32/main-esp32.cpp +++ b/src/platform/esp32/main-esp32.cpp @@ -114,7 +114,7 @@ void esp32Setup() if (BLEOTA.isEmpty()) { DEBUG_MSG("No OTA firmware available\n"); }else{ - DEBUG_MSG("OTA firmware version %s\n", BLEOTA); + DEBUG_MSG("OTA firmware version %s\n", BLEOTA.c_str()); } // enableModemSleep();