We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23be8dd commit 1c4f21cCopy full SHA for 1c4f21c
adafruit_ads1x15/ads1x15.py
@@ -151,7 +151,7 @@ def _conversion_value(self, raw_adc):
151
def _read(self, pin):
152
"""Perform an ADC read. Returns the signed integer result of the read."""
153
if self.mode == Mode.CONTINUOUS and self._last_pin_read == pin:
154
- return self._conversion_value(self.get_last_result(True))
+ return self._conversion_value(self.get_last_result(True))
155
else:
156
self._last_pin_read = pin
157
config = _ADS1X15_CONFIG_OS_SINGLE
0 commit comments