diff --git a/libraries/AP_HAL/Util.h b/libraries/AP_HAL/Util.h index 2c882dd71e..0333f1c73f 100644 --- a/libraries/AP_HAL/Util.h +++ b/libraries/AP_HAL/Util.h @@ -17,6 +17,9 @@ public: // return true if the reason for the reboot was a watchdog reset virtual bool was_watchdog_reset() const { return false; } + // return true if safety was off and this was a watchdog reset + virtual bool was_watchdog_safety_off() const { return false; } + 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_storage_directory() const { return nullptr; }