1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 00:05:28 +03:00

Deprecate nav_fw_roll2pitch

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2017-04-12 23:48:12 +10:00
parent 1f0bc8ee0f
commit dc123d09ec
5 changed files with 0 additions and 5 deletions

View file

@ -407,7 +407,6 @@ void applyFixedWingPitchRollThrottleController(navigationFSMStateFlags_t navStat
// Mix Pitch/Roll/Throttle
if (isRollAdjustmentValid && (navStateFlags & NAV_CTL_POS)) {
pitchCorrection += ABS(posControl.rcAdjustment[ROLL]) * (navConfig()->fw.roll_to_pitch / 100.0f);
rollCorrection += posControl.rcAdjustment[ROLL];
}