1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

Merge pull request #11909 from blckmn/all_use_config

Removing 'UNIFIED_TARGET'
This commit is contained in:
haslinghuis 2022-10-22 21:24:22 +02:00 committed by GitHub
commit d58f2c4a3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 17 additions and 75 deletions

View file

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