mirror of https://github.com/ArduPilot/ardupilot
Tracker: conditionally compile ADSB support
This commit is contained in:
parent
aa64ab0501
commit
2f985c77d8
|
@ -247,6 +247,7 @@ bool Tracker::should_log(uint32_t mask)
|
|||
// 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; }
|
||||
|
||||
#if HAL_ADSB_ENABLED
|
||||
// dummy method to avoid linking AP_Avoidance
|
||||
AP_Avoidance *AP::ap_avoidance() { return nullptr; }
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue