Copter: Correct yaw expo range limit

This commit is contained in:
Leonard Hall 2021-07-01 21:27:02 +09:30 committed by Randy Mackay
parent 0e4e6b8075
commit 85798e96c7

View File

@ -750,7 +750,7 @@ float Mode::get_pilot_desired_yaw_rate(int16_t stick_angle)
}
// range check expo
g2.acro_y_expo = constrain_float(g2.acro_y_expo, 0.0f, 1.0f);
g2.acro_y_expo = constrain_float(g2.acro_y_expo, -0.5f, 1.0f);
// calculate yaw rate request
float yaw_request;