mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: added MEM_FILESYSTEM memory type
This commit is contained in:
parent
c54aa0241a
commit
f2a1c80652
|
@ -147,7 +147,8 @@ public:
|
|||
// 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); }
|
||||
|
|
Loading…
Reference in New Issue