AP_HAL: add flash_bootloader to AP_HAL API

This commit is contained in:
Peter Barker 2018-06-27 15:59:24 +10:00 committed by Andrew Tridgell
parent 1709c258bf
commit b9b0ef0c77

View File

@ -51,6 +51,9 @@ public:
*/ */
virtual uint64_t get_hw_rtc() const; virtual uint64_t get_hw_rtc() const;
// overwrite bootloader (probably with one from ROMFS)
virtual bool flash_bootloader() { return false; }
/* /*
get system identifier (eg. serial number) get system identifier (eg. serial number)
return false if a system identifier is not available return false if a system identifier is not available