1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 13:25:30 +03:00

Revive visual indication of gyro detection failure

This commit is contained in:
jflyper 2017-06-30 14:33:35 +09:00
parent 02e0d2e1c4
commit 2c7970a9ed
3 changed files with 10 additions and 3 deletions

View file

@ -478,7 +478,8 @@ void init(void)
initBoardAlignment(boardAlignment());
if (!sensorsAutodetect()) {
// if gyro was not detected due to whatever reason, don't arm.
// if gyro was not detected due to whatever reason, notify and don't arm.
failureLedCode(FAILURE_MISSING_ACC, 2);
setArmingDisabled(ARMING_DISABLED_NO_GYRO);
}