fix(wifi): fix cache access error in wifi interrupt with psram enabled

This commit is contained in:
yinqingzhao
2026-06-30 19:47:24 +08:00
parent 29c31b14de
commit 8df18fdc9c
+1 -1
View File
@@ -46,7 +46,7 @@ void * esp_coex_common_spin_lock_create_wrapper(void)
void *mux = heap_caps_malloc(sizeof(portMUX_TYPE), MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL);
if (mux) {
memcpy(mux,&tmp,sizeof(portMUX_TYPE));
memcpy(mux, &tmp, sizeof(portMUX_TYPE));
return mux;
}
return NULL;