8000 Wrong function return on microsStoreDelete() · torst3n/arduino-esp32@45566aa · GitHub
[go: up one dir, main page]

Skip to content

Commit 45566aa

Browse files
authored
Wrong function return on microsStoreDelete()
Should have been straight Void, not Void *
1 parent 90ff8bf commit 45566aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-misc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void yield()
4040
portMUX_TYPE microsMux = portMUX_INITIALIZER_UNLOCKED;
4141
static pthread_key_t microsStore=NULL; // Thread Local Storage Handle
4242

43-
void* microsStoreDelete(void * storage){ // release thread local data when task is delete.
43+
void microsStoreDelete(void * storage){ // release thread local data when task is delete.
4444
if(storage) free(storage);
4545
}
4646

0 commit comments

Comments
 (0)
0