1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

OP-1534 Update both roll and pitch with TxPID Roll+Pitch.Expo option

This commit is contained in:
Stefan Karlsson 2014-10-10 18:49:18 +02:00
parent bedb749f72
commit c03d390269

View File

@ -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);