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:
parent
1f0bc8ee0f
commit
dc123d09ec
5 changed files with 0 additions and 5 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue