We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4feb425 commit 396aa72Copy full SHA for 396aa72
cores/esp32/esp32-hal-misc.c
@@ -21,6 +21,7 @@
21
#include "nvs.h"
22
#include "esp_partition.h"
23
#include "esp_log.h"
24
+#include "pthread.h"
25
#include <sys/time.h>
26
27
//Undocumented!!! Get chip temperature in Farenheit
@@ -40,7 +41,7 @@ void yield()
40
41
portMUX_TYPE microsMux = portMUX_INITIALIZER_UNLOCKED;
42
static pthread_key_t microsStore=NULL; // Thread Local Storage Handle
43
-void* microsStoreDelete(void * storage) { // release thread local data when task is delete.
44
+void microsStoreDelete(void * storage) { // release thread local data when task is delete.
45
if(storage) free(storage);
46
}
47
0 commit comments