Skip to content

Commit 59b47ed

Browse files
committed
Removed extra latch argument in SPIDevice() call.
1 parent 2ca0046 commit 59b47ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wws_74hc165.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def __init__(
139139
number_of_shift_registers: int = 1,
140140
baudrate: int = 1000000,
141141
) -> None:
142-
self._device = spi_device.SPIDevice(spi, latch, baudrate=baudrate)
142+
self._device = spi_device.SPIDevice(spi, baudrate=baudrate)
143143
self._latch = latch
144144
self._latch.direction = digitalio.Direction.OUTPUT
145145
self._number_of_shift_registers = number_of_shift_registers

0 commit comments

Comments
 (0)