mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-30 12:38:33 -04:00
Plane: fixed use of expo values in radio
backport of https://github.com/ArduPilot/ardupilot/pull/19751
This commit is contained in:
parent
14d6358f18
commit
b7d31b6289
@ -410,10 +410,10 @@ float Plane::roll_in_expo(bool use_dz) const
|
|||||||
|
|
||||||
float Plane::pitch_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
|
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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user