Skip to content

Commit f7270d1

Browse files
committed
Run pre-commit
1 parent 5a1fdb9 commit f7270d1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

adafruit_mcp4728.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ class MCP4728:
125125
"""
126126

127127
def __init__(self, i2c_bus: I2C, address: int = MCP4728_DEFAULT_ADDRESS) -> None:
128-
129128
self.i2c_device = i2c_device.I2CDevice(i2c_bus, address)
130129

131130
raw_registers = self._read_registers()
@@ -218,7 +217,6 @@ def sync_gains(self) -> None:
218217
i2c.write(buf)
219218

220219
def _set_value(self, channel: "Channel") -> None:
221-
222220
channel_bytes = self._generate_bytes_with_flags(channel)
223221

224222
write_command_byte = 0b01000000 # 0 1 0 0 0 DAC1 DAC0 UDAC

0 commit comments

Comments
 (0)