Tools: add dummy AP::camera method to avoid linking camera

This commit is contained in:
Peter Barker 2018-08-31 08:43:31 +10:00 committed by Peter Barker
parent 753be1142f
commit 95f7b1aeb7

View File

@ -950,6 +950,7 @@ const struct AP_Param::GroupInfo GCS_MAVLINK::var_info[] = {
GCS_Dummy _gcs;
// dummy methods to avoid linking with these libraries
AP_Camera *AP::camera() { return nullptr; }
void AP_Camera::send_feedback(mavlink_channel_t) {}
void AP_Camera::control(float, float, float, float, float, float) {}
void AP_Camera::configure(float, float, float, float, float, float, float) {}