mirror of https://github.com/ArduPilot/ardupilot
AC_AttControl: lean_angle_max accessor fn const
This commit is contained in:
parent
ff1a58e078
commit
71fae1e6f2
|
@ -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…
Reference in New Issue