Missing heap_caps_malloc. issue #102

pull/110/head
Hieromon Ikasamo 5 years ago
parent af998981ee
commit 9a496bab21
  1. 3
      src/AutoConnectElementJson.h

@ -90,7 +90,8 @@ struct SpiRamAllocatorST {
else {
caps = MALLOC_CAP_8BIT;
AC_DBG("PSRAM not found, JSON buffer allocates to the heap.\n");
}
}
return heap_caps_malloc(size,caps);
}
void deallocate(void* pointer) {
heap_caps_free(pointer);

Loading…
Cancel
Save