1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 21:35:44 +03:00

Extended configuration status to accommodate custom defaults.

This commit is contained in:
mikeller 2019-09-01 19:54:00 +12:00 committed by Michael Keller
parent 227f6f76a2
commit 1c8cfbd241
8 changed files with 85 additions and 69 deletions

View file

@ -662,7 +662,11 @@ void init(void)
if (!sensorsAutodetect()) {
// if gyro was not detected due to whatever reason, notify and don't arm.
if (isSystemConfigured()) {
if (true
#if defined(USE_UNIFIED_TARGET)
&& isSystemConfigured()
#endif
) {
indicateFailure(FAILURE_MISSING_ACC, 2);
}
setArmingDisabled(ARMING_DISABLED_NO_GYRO);