Sub: implement dummy afs singleton getting to avoid linking AFS

This commit is contained in:
Peter Barker 2019-09-14 22:14:09 +10:00 committed by Andrew Tridgell
parent 8deec7b60f
commit 6deac0fa42
1 changed files with 1 additions and 0 deletions

View File

@ -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; }