AC_InputManager: params always use set method

This commit is contained in:
Iampete1 2022-07-05 04:08:55 +01:00 committed by Peter Hall
parent e141731146
commit aa6a908f8e
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ float AC_InputManager_Heli::get_pilot_desired_collective(int16_t control_in)
// calculate expo-scaled acro collective
// range check expo
if (_acro_col_expo > 1.0f) {
_acro_col_expo = 1.0f;
_acro_col_expo.set(1.0f);
}
if (_acro_col_expo <= 0.0f) {