mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Update cpp_pthread.cpp
the word default was misspelled.
This commit is contained in:
parent
668eb92d4f
commit
8994928035
@ -84,7 +84,7 @@ esp_pthread_cfg_t create_config(const char *name, int core_id, int stack, int pr
|
|||||||
|
|
||||||
extern "C" void app_main(void)
|
extern "C" void app_main(void)
|
||||||
{
|
{
|
||||||
// Create a thread using deafult values that can run on any core
|
// Create a thread using default values that can run on any core
|
||||||
auto cfg = esp_pthread_get_default_config();
|
auto cfg = esp_pthread_get_default_config();
|
||||||
esp_pthread_set_cfg(&cfg);
|
esp_pthread_set_cfg(&cfg);
|
||||||
std::thread any_core(thread_func_any_core);
|
std::thread any_core(thread_func_any_core);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user