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

Merge branch 'master' into abo_waypoint_tracking

This commit is contained in:
breadoven 2022-08-12 13:02:36 +01:00 committed by GitHub
commit 67adc42e75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
61 changed files with 922 additions and 644 deletions

View file

@ -665,7 +665,7 @@ bool isFixedWingFlying(void)
#ifdef USE_PITOT
airspeed = pitot.airSpeed;
#endif
bool throttleCondition = rcCommand[THROTTLE] > currentBatteryProfile->nav.fw.cruise_throttle;
bool throttleCondition = getMotorCount() == 0 || rcCommand[THROTTLE] > currentBatteryProfile->nav.fw.cruise_throttle;
bool velCondition = posControl.actualState.velXY > 250 || airspeed > 250;
bool launchCondition = isNavLaunchEnabled() && fixedWingLaunchStatus() == FW_LAUNCH_FLYING;