From f2a1c80652c7a28584344c8a431c727ad0d704c4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 5 Jan 2024 13:34:55 +1100 Subject: [PATCH] AP_HAL: added MEM_FILESYSTEM memory type --- libraries/AP_HAL/Util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_HAL/Util.h b/libraries/AP_HAL/Util.h index b605fecabad95..d5bd6bb95cf4e 100644 --- a/libraries/AP_HAL/Util.h +++ b/libraries/AP_HAL/Util.h @@ -147,7 +147,8 @@ class AP_HAL::Util { // allocate and free DMA-capable memory if possible. Otherwise return normal memory enum Memory_Type { MEM_DMA_SAFE, - MEM_FAST + MEM_FAST, + MEM_FILESYSTEM }; virtual void *malloc_type(size_t size, Memory_Type mem_type) { return calloc(1, size); } virtual void free_type(void *ptr, size_t size, Memory_Type mem_type) { return free(ptr); }