diff --git a/Tools/Replay/Replay.cpp b/Tools/Replay/Replay.cpp index 9ade3d51fe..1bd5d54d4d 100644 --- a/Tools/Replay/Replay.cpp +++ b/Tools/Replay/Replay.cpp @@ -962,6 +962,9 @@ const struct AP_Param::GroupInfo GCS_MAVLINK_Parameters::var_info[] = { }; GCS_Dummy _gcs; +#include +#include + // dummy methods to avoid linking with these libraries AP_Camera *AP::camera() { return nullptr; } void AP_Camera::send_feedback(mavlink_channel_t) {} @@ -970,6 +973,9 @@ void AP_Camera::configure(float, float, float, float, float, float, float) {} bool AP_AdvancedFailsafe::gcs_terminate(bool should_terminate, const char *reason) { return false; } AP_AdvancedFailsafe *AP::advancedfailsafe() { return nullptr; } +// dummy method to avoid linking AP_Avoidance +AP_Avoidance *AP::ap_avoidance() { return nullptr; } + // avoid building/linking Devo: void AP_DEVO_Telem::init() {};