diff --git a/libraries/APM_Control/AR_AttitudeControl.h b/libraries/APM_Control/AR_AttitudeControl.h index bcb0fdf415..86997caabf 100644 --- a/libraries/APM_Control/AR_AttitudeControl.h +++ b/libraries/APM_Control/AR_AttitudeControl.h @@ -85,7 +85,7 @@ public: private: // external references - AP_AHRS &_ahrs; + const AP_AHRS &_ahrs; // parameters AC_P _steer_angle_p; // steering angle controller