Furi: distinct name for auxiliary memory pool

This commit is contained in:
SG
2024-04-09 05:12:15 +03:00
parent 463dc8c727
commit 3a4bff82f4
7 changed files with 18 additions and 18 deletions

View File

@@ -78,14 +78,14 @@ void* __wrap__realloc_r(struct _reent* r, void* ptr, size_t size) {
return realloc(ptr, size);
}
void* memmgr_alloc_from_pool(size_t size) {
void* memmgr_aux_pool_alloc(size_t size) {
void* p = furi_hal_memory_alloc(size);
if(p == NULL) p = malloc(size);
return p;
}
size_t memmgr_pool_get_free(void) {
size_t memmgr_aux_pool_get_free(void) {
return furi_hal_memory_get_free();
}