Browse Source

AC_AttControl: lean_angle_max accessor fn const

master
Randy Mackay 11 years ago
parent
commit
71fae1e6f2
  1. 2
      libraries/AC_AttitudeControl/AC_AttitudeControl.h

2
libraries/AC_AttitudeControl/AC_AttitudeControl.h

@ -142,7 +142,7 @@ public: @@ -142,7 +142,7 @@ public:
//
// lean_angle_max - maximum lean angle of the copter in centi-degrees
int16_t lean_angle_max() { return _aparm.angle_max; }
int16_t lean_angle_max() const { return _aparm.angle_max; }
// user settable parameters
static const struct AP_Param::GroupInfo var_info[];

Loading…
Cancel
Save