mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 01:05:21 +03:00
Update navigation.c
This commit is contained in:
parent
af8a561ed0
commit
68e749831e
1 changed files with 1 additions and 1 deletions
|
@ -3353,7 +3353,7 @@ void updateLandingStatus(timeMs_t currentTimeMs)
|
|||
if (STATE(AIRPLANE) && isFlightDetected()) {
|
||||
// Cancel landing detection flag if fixed wing redetected in flight
|
||||
resetLandingDetector();
|
||||
} else {
|
||||
} else if (STATE(MULTIROTOR)) {
|
||||
// For multirotor - reactivate landing detector without disarm when throttle raised toward hover throttle
|
||||
landingDetectorIsActive = rxGetChannelValue(THROTTLE) < (0.5 * (currentBatteryProfile->nav.mc.hover_throttle + getThrottleIdleValue()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue