mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
USE_GPS_RESCUE condition is now used in failsafe.c
This commit is contained in:
parent
d829563179
commit
7480552a62
3 changed files with 18 additions and 9 deletions
|
@ -67,14 +67,10 @@ 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);
|
||||
bool areSticksActive(uint8_t stickPercentLimit);
|
||||
void runawayTakeoffTemporaryDisable(uint8_t disableFlag);
|
||||
bool isAirmodeActivated();
|
||||
timeUs_t getLastDisarmTimeUs(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue