Skip to content

Commit

Permalink
Removed extra latch argument in SPIDevice() call.
Browse files Browse the repository at this point in the history
  • Loading branch information
woolseyj committed Jan 19, 2024
1 parent 2ca0046 commit 59b47ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wws_74hc165.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def __init__(
number_of_shift_registers: int = 1,
baudrate: int = 1000000,
) -> None:
self._device = spi_device.SPIDevice(spi, latch, baudrate=baudrate)
self._device = spi_device.SPIDevice(spi, baudrate=baudrate)
self._latch = latch
self._latch.direction = digitalio.Direction.OUTPUT
self._number_of_shift_registers = number_of_shift_registers
Expand Down

0 comments on commit 59b47ed

Please sign in to comment.