Skip to content

Commit 297a88d

Browse files
committed
fix(tempcal): Andy Piper fix to tempcal script
port of ArduPilot/ardupilot#27294
1 parent c0d7d34 commit 297a88d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ardupilot_methodic_configurator/tempcal_imu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def IMUfit( # noqa: C901, PLR0912, PLR0915, N802, pylint: disable=too-many-loca
365365
stype = m.group(2)
366366
p = int(m.group(3))
367367
axis = m.group(4)
368-
if stop_capture[imu]:
368+
if stop_capture[imu] or c.enable[imu] == 2:
369369
continue
370370
if stype == "ACC":
371371
c.set_acoeff(imu, axis, p, msg.Value / SCALE_FACTOR)

0 commit comments

Comments
 (0)