From 8d2109faec5bad6dd48d3e1cbc95b1dc51526c12 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 8 Mar 2024 10:29:51 +1100 Subject: [PATCH] AP_AHRS: avoid use of AP_Motors include in header --- libraries/AP_AHRS/AP_AHRS_View.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_AHRS/AP_AHRS_View.h b/libraries/AP_AHRS/AP_AHRS_View.h index 1ad748062f..ff0f2293c1 100644 --- a/libraries/AP_AHRS/AP_AHRS_View.h +++ b/libraries/AP_AHRS/AP_AHRS_View.h @@ -21,7 +21,6 @@ */ #include "AP_AHRS.h" -#include // fwd declarations to avoid include errors class AC_AttitudeControl; @@ -175,8 +174,9 @@ public: // Logging Functions void Write_AttitudeView(const Vector3f &targets) const; - void Write_Rate( const AP_Motors &motors, const AC_AttitudeControl &attitude_control, - const AC_PosControl &pos_control) const; + void Write_Rate(const class AP_Motors &motors, + const class AC_AttitudeControl &attitude_control, + const AC_PosControl &pos_control) const; float roll; float pitch;