fix(pthread): Add esp_pthread function implementations for linux target

This commit is contained in:
Cristian Funes
2024-08-22 12:23:30 -03:00
committed by Jakob Hasse
parent 1b6a829e81
commit 08a1e1350c
2 changed files with 64 additions and 3 deletions

View File

@@ -174,7 +174,7 @@ esp_err_t esp_pthread_set_cfg(const esp_pthread_cfg_t *cfg)
p->stack_alloc_caps = heap_caps;
pthread_setspecific(s_pthread_cfg_key, p);
return 0;
return ESP_OK;
ESP_COMPILER_DIAGNOSTIC_POP("-Wanalyzer-malloc-leak")
}