AP_HAL: add support for unformatted board id

This commit is contained in:
Siddharth Purohit 2018-09-28 21:01:25 +05:30 committed by Andrew Tridgell
parent 3b2fdc9c70
commit df7d0d1971

View File

@ -62,6 +62,7 @@ public:
terminated terminated
*/ */
virtual bool get_system_id(char buf[40]) { return false; } virtual bool get_system_id(char buf[40]) { return false; }
virtual bool get_system_id_unformatted(uint8_t buf[], uint8_t &len) { return false; }
/** /**
return commandline arguments, if available return commandline arguments, if available
@ -111,6 +112,7 @@ public:
how much free memory do we have in bytes. If unknown return 4096 how much free memory do we have in bytes. If unknown return 4096
*/ */
virtual uint32_t available_memory(void) { return 4096; } virtual uint32_t available_memory(void) { return 4096; }
protected: protected:
// we start soft_armed false, so that actuators don't send any // we start soft_armed false, so that actuators don't send any
// values until the vehicle code has fully started // values until the vehicle code has fully started