mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
Add configurable boot grace time
This guards against the case when the RX takes longer to obtain a valid link than the gyro takes to calibrate (previously this delay is all that stopped immediate arming).
This commit is contained in:
parent
fd51cda9eb
commit
0c0483d020
8 changed files with 48 additions and 22 deletions
|
@ -719,6 +719,8 @@ void init(void)
|
|||
latchActiveFeatures();
|
||||
pwmEnableMotors();
|
||||
|
||||
setArmingDisabled(ARMING_DISABLED_BOOT_GRACE_TIME);
|
||||
|
||||
#ifdef USE_OSD_SLAVE
|
||||
osdSlaveTasksInit();
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue