AP_Mount: include required GCS.h header

This commit is contained in:
Peter Barker 2022-08-24 21:18:42 +10:00 committed by Andrew Tridgell
parent 0107466fe4
commit 3d099b0d2f
2 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#include "AP_Mount_Backend.h"
#if HAL_MOUNT_ENABLED
#include <AP_AHRS/AP_AHRS.h>
#include <GCS_MAVLink/GCS.h>
extern const AP_HAL::HAL& hal;

View File

@ -2,6 +2,8 @@
#if HAL_MOUNT_GREMSY_ENABLED
#include <GCS_MAVLink/GCS.h>
extern const AP_HAL::HAL& hal;
#define AP_MOUNT_GREMSY_RESEND_MS 1000 // resend angle targets to gimbal at least once per second