Skip to content

Commit 4359fbb

Browse files
committed
fix(tempcal): Andy Piper fix to tempcal script
port of ArduPilot/ardupilot#27294
1 parent 14b5ae9 commit 4359fbb

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
@@ -371,7 +371,7 @@ def IMUfit( # noqa: PLR0915, N802, pylint: disable=too-many-locals, too-many-br
371371
stype = m.group(2)
372372
p = int(m.group(3))
373373
axis = m.group(4)
374-
if stop_capture[imu]:
374+
if stop_capture[imu] or c.enable[imu] == 2:
375375
continue
376376
if stype == "ACC":
377377
c.set_acoeff(imu, axis, p, msg.Value / SCALE_FACTOR)

0 commit comments

Comments
 (0)