From 8399d49b9faa4272cd9845dbc67b7f716cafe416 Mon Sep 17 00:00:00 2001 From: "Dr.-Ing. Amilcar do Carmo Lucas" Date: Sat, 15 Jun 2024 02:05:10 +0200 Subject: [PATCH] IMPROVEMENT: Andy Piper fix to tempcal script --- MethodicConfigurator/tempcal_imu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MethodicConfigurator/tempcal_imu.py b/MethodicConfigurator/tempcal_imu.py index b8178dd..77c53d3 100644 --- a/MethodicConfigurator/tempcal_imu.py +++ b/MethodicConfigurator/tempcal_imu.py @@ -352,7 +352,7 @@ def IMUfit(logfile, outfile, # pylint: disable=too-many-locals, too-many-bra stype = m.group(2) p = int(m.group(3)) axis = m.group(4) - if stop_capture[imu]: + if stop_capture[imu] or c.enable[imu] == 2: continue if stype == 'ACC': c.set_acoeff(imu, axis, p, msg.Value/SCALE_FACTOR)