Missing heap_caps_malloc. issue #102

pull/103/head v0.9.10
Hieromon Ikasamo 5 years ago
parent 68d854a5d7
commit 4ab0f750ac
  1. 1
      src/AutoConnectElementJson.h

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

Loading…
Cancel
Save