serial thread is required(?) as well on esp32

This commit is contained in:
folkert van heusden 2024-03-29 22:06:51 +01:00
parent 7baff320d5
commit 97bd0a7809
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -53,7 +53,7 @@ void console::start_thread()
#if defined(BUILD_FOR_RP2040) #if defined(BUILD_FOR_RP2040)
xTaskCreate(&thread_wrapper_console, "console", 2048, this, 1, nullptr); xTaskCreate(&thread_wrapper_console, "console", 2048, this, 1, nullptr);
#elif !defined(ESP32) #else
th = new std::thread(std::ref(*this)); th = new std::thread(std::ref(*this));
#endif #endif
} }