1
0
Fork 0
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:
Dan Nixon 2017-08-13 13:17:25 +01:00
parent fd51cda9eb
commit 0c0483d020
8 changed files with 48 additions and 22 deletions

View file

@ -719,6 +719,8 @@ void init(void)
latchActiveFeatures();
pwmEnableMotors();
setArmingDisabled(ARMING_DISABLED_BOOT_GRACE_TIME);
#ifdef USE_OSD_SLAVE
osdSlaveTasksInit();
#else