1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-21 15:25:29 +03:00

Merge pull request #9564 from RomanLut/submit-fix-sitl-with-hitl-accelerometer

SITL: accelerometer/mag data is not processed when using SITL with inav-HITL-plugin
This commit is contained in:
Paweł Spychalski 2024-05-31 12:10:48 +02:00 committed by GitHub
commit cb15792f94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -900,7 +900,7 @@ void taskMainPidLoop(timeUs_t currentTimeUs)
} }
#if defined(SITL_BUILD) #if defined(SITL_BUILD)
if (lockMainPID()) { if (ARMING_FLAG(SIMULATOR_MODE_HITL) || lockMainPID()) {
#endif #endif
gyroFilter(); gyroFilter();