Rover: add method linking AP_Avoidance

This commit is contained in:
Peter Barker 2019-11-04 11:41:40 +11:00 committed by Peter Barker
parent 54b1159a16
commit 88647ff2e9
1 changed files with 6 additions and 0 deletions

View File

@ -337,3 +337,9 @@ bool Rover::is_boat() const
{ {
return ((enum frame_class)g2.frame_class.get() == FRAME_BOAT); return ((enum frame_class)g2.frame_class.get() == FRAME_BOAT);
} }
#include <AP_Avoidance/AP_Avoidance.h>
#include <AP_ADSB/AP_ADSB.h>
// dummy method to avoid linking AP_Avoidance
AP_Avoidance *AP::ap_avoidance() { return nullptr; }