From e0bfd14911917e4912b7d190db4022a9a975c25d Mon Sep 17 00:00:00 2001 From: Markus Kuhn Date: Tue, 8 Oct 2024 21:22:52 +0200 Subject: [PATCH] fixup! DriverADC again :-( & some other lint comments --- aquaPi/driver/DriverADC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aquaPi/driver/DriverADC.py b/aquaPi/driver/DriverADC.py index bc36823..daf7300 100644 --- a/aquaPi/driver/DriverADC.py +++ b/aquaPi/driver/DriverADC.py @@ -133,7 +133,7 @@ def close(self) -> None: # return chip to power-on defaults to allow future auto-detect self._ads.gain = 2 - self._ads.read(0, is_differential=True) + self._ads.read(0, True) def read(self) -> float: if self._fake: