mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Speed up the first boot on generic firmware
This commit is contained in:
parent
c9788f1831
commit
feab0bcb81
4 changed files with 37 additions and 7 deletions
|
@ -503,7 +503,9 @@ void init(void)
|
|||
|
||||
if (!sensorsAutodetect()) {
|
||||
// if gyro was not detected due to whatever reason, notify and don't arm.
|
||||
indicateFailure(FAILURE_MISSING_ACC, 2);
|
||||
if (isSystemConfigured()) {
|
||||
indicateFailure(FAILURE_MISSING_ACC, 2);
|
||||
}
|
||||
setArmingDisabled(ARMING_DISABLED_NO_GYRO);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue