AC_AttControl: lean_angle_max accessor fn const

This commit is contained in:
Randy Mackay 2014-05-06 16:35:19 +09:00
parent ff1a58e078
commit 71fae1e6f2
1 changed files with 1 additions and 1 deletions

View File

@ -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[];