From 398542488fabec3f4ed61d5bf33c2d544d792b0e Mon Sep 17 00:00:00 2001 From: CamDavidsonPilon Date: Tue, 21 Nov 2023 16:44:06 -0500 Subject: [PATCH] don't need this, it messes with our tests anyways --- pioreactor/background_jobs/od_reading.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pioreactor/background_jobs/od_reading.py b/pioreactor/background_jobs/od_reading.py index e6e93e93..3afb196a 100644 --- a/pioreactor/background_jobs/od_reading.py +++ b/pioreactor/background_jobs/od_reading.py @@ -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():