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 }