mirror of https://github.com/ArduPilot/ardupilot
Tools: Replay: correct compilation when AdvancedFailsafe not available
This commit is contained in:
parent
c6b93baf44
commit
fb87369c7e
|
@ -100,8 +100,10 @@ const struct AP_Param::GroupInfo GCS_MAVLINK_Parameters::var_info[] = {
|
|||
};
|
||||
GCS_Dummy _gcs;
|
||||
|
||||
#if AP_ADVANCEDFAILSAFE_ENABLED
|
||||
AP_AdvancedFailsafe *AP::advancedfailsafe() { return nullptr; }
|
||||
bool AP_AdvancedFailsafe::gcs_terminate(bool should_terminate, const char *reason) { return false; }
|
||||
#endif
|
||||
|
||||
// dummy method to avoid linking AP_Avoidance
|
||||
// AP_Avoidance *AP::ap_avoidance() { return nullptr; }
|
||||
|
|
Loading…
Reference in New Issue