Tracker: implement dummy afs singleton getting to avoid linking AFS

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

View File

@ -655,3 +655,4 @@ void AP_Camera::send_feedback(mavlink_channel_t chan) {}
// 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; }