From b7d31b6289d04a1d2ae07c232b5403f9875b38e4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 27 Jan 2022 14:46:07 +1100 Subject: [PATCH] Plane: fixed use of expo values in radio backport of https://github.com/ArduPilot/ardupilot/pull/19751 --- ArduPlane/radio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduPlane/radio.cpp b/ArduPlane/radio.cpp index cbdbf05876..61d56feee3 100644 --- a/ArduPlane/radio.cpp +++ b/ArduPlane/radio.cpp @@ -410,10 +410,10 @@ 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); }