mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 18:38:28 -04:00
AP_HAL: added save/restore of home to backup registers
This commit is contained in:
parent
12dfccf65a
commit
a42293b986
@ -27,6 +27,12 @@ public:
|
|||||||
// return true if this is a watchdog reset boot and we were armed
|
// return true if this is a watchdog reset boot and we were armed
|
||||||
virtual bool was_watchdog_armed() const { return false; }
|
virtual bool was_watchdog_armed() const { return false; }
|
||||||
|
|
||||||
|
// backup home state for restore on watchdog reset
|
||||||
|
virtual void set_backup_home_state(int32_t lat, int32_t lon, int32_t alt_cm) const {}
|
||||||
|
|
||||||
|
// backup home state for restore on watchdog reset
|
||||||
|
virtual bool get_backup_home_state(int32_t &lat, int32_t &lon, int32_t &alt_cm) const { return false; }
|
||||||
|
|
||||||
virtual const char* get_custom_log_directory() const { return nullptr; }
|
virtual const char* get_custom_log_directory() const { return nullptr; }
|
||||||
virtual const char* get_custom_terrain_directory() const { return nullptr; }
|
virtual const char* get_custom_terrain_directory() const { return nullptr; }
|
||||||
virtual const char *get_custom_storage_directory() const { return nullptr; }
|
virtual const char *get_custom_storage_directory() const { return nullptr; }
|
||||||
|
Loading…
Reference in New Issue
Block a user