Loading poolpay/card/Pirc522CardReader.py +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ class Pirc522CardReader(CardReader): # Technically, it might be possible to connect both LCD and Card Interface to # the same SPI0 bus (making one device=0, and the other device=1), # but I think that by just separating the buses, it should be less of a hassle. self._reader = RFID(bus=1, device=0, pin_irq=37, pin_rst=33) self._reader = RFID(bus=1, device=0, pin_irq=None, pin_rst=33) self._handle_removal: Callable[[CardReader], None] | None = None def read_id(self) -> int | None: Loading Loading
poolpay/card/Pirc522CardReader.py +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ class Pirc522CardReader(CardReader): # Technically, it might be possible to connect both LCD and Card Interface to # the same SPI0 bus (making one device=0, and the other device=1), # but I think that by just separating the buses, it should be less of a hassle. self._reader = RFID(bus=1, device=0, pin_irq=37, pin_rst=33) self._reader = RFID(bus=1, device=0, pin_irq=None, pin_rst=33) self._handle_removal: Callable[[CardReader], None] | None = None def read_id(self) -> int | None: Loading