Skip to content

Commit

Permalink
fixup! DriverADC again :-( & some other lint comments
Browse files Browse the repository at this point in the history
  • Loading branch information
schwabix-1311 committed Oct 8, 2024
1 parent f798064 commit e0bfd14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aquaPi/driver/DriverADC.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e0bfd14

Please sign in to comment.