AP_HAL: make available_memory() uint32_t

This commit is contained in:
Andrew Tridgell 2015-11-05 15:41:13 +11:00
parent a3ca732403
commit 8a4c0593f2
1 changed files with 2 additions and 3 deletions

View File

@ -52,10 +52,9 @@ public:
virtual bool get_system_id(char buf[40]) { return false; }
/**
how much free memory do we have in bytes. If more than 0xFFFF
then return 0xFFFF. If unknown return 4096
how much free memory do we have in bytes. If unknown return 4096
*/
virtual uint16_t available_memory(void) { return 4096; }
virtual uint32_t available_memory(void) { return 4096; }
/**
return commandline arguments, if available