ArduPlane: fix man_expo pitch & rudder params/variables

This commit is contained in:
Jaaaky 2022-01-10 10:08:44 +03:00 committed by Andrew Tridgell
parent 00eca20cf4
commit 852546f8cf

View File

@ -412,12 +412,12 @@ float Plane::roll_in_expo(bool use_dz) const
float Plane::pitch_in_expo(bool use_dz) const
{
return channel_expo(channel_pitch, g2.man_expo_roll, use_dz);
return channel_expo(channel_pitch, g2.man_expo_pitch, use_dz);
}
float Plane::rudder_in_expo(bool use_dz) const
{
return channel_expo(channel_rudder, g2.man_expo_roll, use_dz);
return channel_expo(channel_rudder, g2.man_expo_rudder, use_dz);
}
bool Plane::throttle_at_zero(void) const