diff --git a/calibrate.py b/calibrate.py index 64bf0bc..47d93b2 100644 --- a/calibrate.py +++ b/calibrate.py @@ -48,7 +48,7 @@ def main(): while not all(calibrated): for i, function in enumerate(tests): if not calibrated[i]: - wheels = function(arlo, *values) + wheels = function(arlo, *values[i]) fraction = max(wheels)/min(wheels) if fraction < THRESHOLD: calibrated[i] = True