mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Sub: conditionally compile ADSB support
This commit is contained in:
parent
c057be8ed1
commit
ebef358922
@ -288,6 +288,7 @@ bool Sub::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
Block a user