|
|
@ -82,7 +82,8 @@ struct SpiRamAllocatorST { |
|
|
|
else { |
|
|
|
else { |
|
|
|
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); |
|
|
|