mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
disable runcam camera control in runaway takeoff status
This commit is contained in:
parent
087fa9453a
commit
2d84608daa
2 changed files with 2 additions and 1 deletions
|
@ -225,7 +225,7 @@ static void rcdevice5KeySimulationProcess(timeUs_t currentTimeUs)
|
|||
}
|
||||
#endif
|
||||
|
||||
if (ARMING_FLAG(ARMED)) {
|
||||
if (ARMING_FLAG(ARMED) || getArmingDisableFlags() & ARMING_DISABLED_RUNAWAY_TAKEOFF) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -1615,4 +1615,5 @@ extern "C" {
|
|||
uint8_t armingFlags = 0;
|
||||
bool cmsInMenu;
|
||||
uint32_t resumeRefreshAt = 0;
|
||||
int getArmingDisableFlags(void) {return 0;}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue