AC_AttControl: initialise _acro_angle_switch

Resolves a compiler warning
This commit is contained in:
Randy Mackay 2014-07-14 22:35:52 +09:00
parent 6baedbda1d
commit 581838b271

View File

@ -60,7 +60,8 @@ public:
_pid_rate_pitch(pid_rate_pitch),
_pid_rate_yaw(pid_rate_yaw),
_dt(AC_ATTITUDE_100HZ_DT),
_angle_boost(0)
_angle_boost(0),
_acro_angle_switch(0)
{
AP_Param::setup_object_defaults(this, var_info);