Skip to content

Commit

Permalink
factory: revert incorrect change to calibration point calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
theacodes committed Feb 19, 2021
1 parent 29d42c6 commit eeea25d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions factory/libgemini/adc_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit eeea25d

Please sign in to comment.