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); }