Update cpp_pthread.cpp

the word default was misspelled.
This commit is contained in:
f-hoepfinger-hr-agrartechnik 2023-02-08 20:44:54 +01:00 committed by GitHub
parent 668eb92d4f
commit 8994928035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
{
// 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();
esp_pthread_set_cfg(&cfg);
std::thread any_core(thread_func_any_core);