serial thread is required(?) as well on esp32
This commit is contained in:
parent
7baff320d5
commit
97bd0a7809
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue