From 97bd0a7809ad8e10a94d91dc82fad9def20f6649 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Fri, 29 Mar 2024 22:06:51 +0100 Subject: [PATCH] serial thread is required(?) as well on esp32 --- console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console.cpp b/console.cpp index 2d950f7..71e18f6 100644 --- a/console.cpp +++ b/console.cpp @@ -53,7 +53,7 @@ void console::start_thread() #if defined(BUILD_FOR_RP2040) xTaskCreate(&thread_wrapper_console, "console", 2048, this, 1, nullptr); -#elif !defined(ESP32) +#else th = new std::thread(std::ref(*this)); #endif }