1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 16:25:26 +03:00

Merge pull request #9345 from RomanLut/submit-allow-hitl-arm-without-calibration

HITL/SITL: allow hitl/sitl to arm with uncalibrated accelerometer
This commit is contained in:
Paweł Spychalski 2023-10-25 08:50:52 +02:00 committed by GitHub
commit 058949a880
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3633,6 +3633,7 @@ bool mspFCProcessInOutCommand(uint16_t cmdMSP, sbuf_t *dst, sbuf_t *src, mspResu
}
#endif
ENABLE_ARMING_FLAG(SIMULATOR_MODE_HITL);
ENABLE_STATE(ACCELEROMETER_CALIBRATED);
LOG_DEBUG(SYSTEM, "Simulator enabled");
}