1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 16:55:29 +03:00

Add OSD_THROTTLE_POS_AUTO_THR indicator

Displays stick THR position when the user controls THR directly,
actual applied THR when the navigation system controls THR.

Fixes #2031
This commit is contained in:
Alberto García Hierro 2017-09-17 22:33:03 +01:00
parent 2b79418712
commit 47fc453727
6 changed files with 44 additions and 3 deletions

View file

@ -2693,6 +2693,11 @@ rthState_e getStateOfForcedRTH(void)
}
}
bool navigationIsControllingThrottle(void)
{
return posControl.navState != NAV_STATE_IDLE;
}
#else // NAV
#ifdef GPS