diff --git a/ArduSub/GCS_Mavlink.cpp b/ArduSub/GCS_Mavlink.cpp index 4f1d8bae86..699088bf3b 100644 --- a/ArduSub/GCS_Mavlink.cpp +++ b/ArduSub/GCS_Mavlink.cpp @@ -845,3 +845,4 @@ int32_t GCS_MAVLINK_Sub::global_position_int_relative_alt() const { // dummy method to avoid linking AFS bool AP_AdvancedFailsafe::gcs_terminate(bool should_terminate, const char *reason) { return false; } +AP_AdvancedFailsafe *AP::advancedfailsafe() { return nullptr; }