Skip to content

Commit

Permalink
don't need this, it messes with our tests anyways
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Nov 21, 2023
1 parent 0591443 commit 3985424
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pioreactor/background_jobs/od_reading.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,7 @@ def setup_adc(self) -> ADCReader:
"""

if not hardware.is_HAT_present():
self.logger.error("Pioreactor HAT must be present.")
raise exc.HardwareNotFoundError("Pioreactor HAT must be present.")
elif not hardware.is_ADC_present():
if not hardware.is_ADC_present():
self.logger.error("The internal ADC is not responding. Exiting.")
raise exc.HardwareNotFoundError("The internal ADC is not responding. Exiting.")
elif not hardware.is_DAC_present():
Expand Down

0 comments on commit 3985424

Please sign in to comment.