mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 21:35:44 +03:00
Allow gyro-less booting
This commit is contained in:
parent
b9f533abe3
commit
adee15a806
5 changed files with 15 additions and 5 deletions
|
@ -478,8 +478,8 @@ void init(void)
|
|||
initBoardAlignment(boardAlignment());
|
||||
|
||||
if (!sensorsAutodetect()) {
|
||||
// if gyro was not detected due to whatever reason, we give up now.
|
||||
failureMode(FAILURE_MISSING_ACC);
|
||||
// if gyro was not detected due to whatever reason, don't arm.
|
||||
setArmingDisabled(ARMING_DISABLED_NO_GYRO);
|
||||
}
|
||||
|
||||
systemState |= SYSTEM_STATE_SENSORS_READY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue