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 bba019abc2
commit 8deec7b60f

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