Skip to content

Commit e6c7f27

Browse files
committed
fix typo
1 parent 14964a8 commit e6c7f27

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

adafruit_mcp3xxx/analog_in.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,11 @@ def __init__(
5656
def value(self) -> int:
5757
"""Returns the value of an ADC pin as an integer in the range [0, 65535]."""
5858
# Initial result is only 10 bits.
59-
result = int(self._mcp.read(self._pin_setting, is_differential=self.is_differential))
59+
result = int(
60+
self._mcp.read(self._pin_setting, is_differential=self.is_differential)
61+
)
6062
# Stretch to 16 bits and cover full range.
6163
return (result << 6) | (result >> 4)
62-
)
6364

6465
@property
6566
def voltage(self) -> float:

0 commit comments

Comments
 (0)