diff --git a/wws_74hc165.py b/wws_74hc165.py index aff3f26..e230d81 100644 --- a/wws_74hc165.py +++ b/wws_74hc165.py @@ -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