mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
GPS Rescue procedure can be aborted by moving sticks, with a configurable delay after recovering rx
This commit is contained in:
parent
b4286c6ac9
commit
d829563179
7 changed files with 36 additions and 12 deletions
|
@ -67,6 +67,11 @@ void updateArmingStatus(void);
|
|||
|
||||
void taskMainPidLoop(timeUs_t currentTimeUs);
|
||||
|
||||
#if defined(USE_RUNAWAY_TAKEOFF) || defined(USE_GPS_RESCUE)
|
||||
// determine if the R/P/Y stick deflection exceeds the specified limit - integer math is good enough here.
|
||||
bool areSticksActive(uint8_t stickPercentLimit);
|
||||
#endif
|
||||
|
||||
bool isFlipOverAfterCrashActive(void);
|
||||
int8_t calculateThrottlePercent(void);
|
||||
uint8_t calculateThrottlePercentAbs(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue