From c03d390269bcfb3d4b7485f8940923a1d29a9525 Mon Sep 17 00:00:00 2001 From: Stefan Karlsson Date: Fri, 10 Oct 2014 18:49:18 +0200 Subject: [PATCH] OP-1534 Update both roll and pitch with TxPID Roll+Pitch.Expo option --- flight/modules/TxPID/txpid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/flight/modules/TxPID/txpid.c b/flight/modules/TxPID/txpid.c index ca21c2771..c4e94fbc8 100644 --- a/flight/modules/TxPID/txpid.c +++ b/flight/modules/TxPID/txpid.c @@ -340,6 +340,7 @@ static void updatePIDs(UAVObjEvent *ev) break; case TXPIDSETTINGS_PIDS_ROLLPITCHEXPO: needsUpdateBank |= updateInt8(&bank.StickExpo.Roll, value); + needsUpdateBank |= updateInt8(&bank.StickExpo.Pitch, value); break; case TXPIDSETTINGS_PIDS_YAWEXPO: needsUpdateBank |= updateInt8(&bank.StickExpo.Yaw, value);