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:
commit
cb15792f94
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue