From eeea25dabbd7bb6365481de4705bad29ea6644ba Mon Sep 17 00:00:00 2001 From: Thea Flowers Date: Thu, 18 Feb 2021 22:54:20 -0500 Subject: [PATCH] factory: revert incorrect change to calibration point calculation --- factory/libgemini/adc_calibration.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/factory/libgemini/adc_calibration.py b/factory/libgemini/adc_calibration.py index a8ec15eb..26ddc9bf 100644 --- a/factory/libgemini/adc_calibration.py +++ b/factory/libgemini/adc_calibration.py @@ -206,9 +206,7 @@ def run( gem.enable_adc_error_correction() - measured = _measure_range( - gem, sol_, strategy, sample_count, calibration_points // 2 - ) + measured = _measure_range(gem, sol_, strategy, sample_count, calibration_points) gain_error = adc_errors.calculate_avg_gain_error( expected_codes, list(measured.values())