mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-19 14:25:16 +03:00
FW: Require turn assistant for nav modes using NAV_CTL_ALT
This commit is contained in:
parent
46ef27db85
commit
68acbcb12d
1 changed files with 1 additions and 1 deletions
|
@ -2775,7 +2775,7 @@ bool navigationRequiresTurnAssistance(void)
|
|||
const navigationFSMStateFlags_t currentState = navGetStateFlags(posControl.navState);
|
||||
if (STATE(FIXED_WING)) {
|
||||
// For airplanes turn assistant is always required when controlling position
|
||||
return (currentState & NAV_CTL_POS);
|
||||
return (currentState & (NAV_CTL_POS | NAV_CTL_ALT));
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue