Skip to content

Commit 9de1369

Browse files
authored
Update mfrc522.py
bad OR syntax...
1 parent a4f2a14 commit 9de1369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mfrc522.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def __init__(self, sck, mosi, miso, rst, cs):
2626

2727
board = uname()[0]
2828

29-
if board == 'WiPy' || board == 'LoPy' || board == 'FiPy':
29+
if board == 'WiPy' or board == 'LoPy' or board == 'FiPy':
3030
self.spi = SPI(0)
3131
self.spi.init(SPI.MASTER, baudrate=1000000, pins=(self.sck, self.mosi, self.miso))
3232
elif board == 'esp8266':

0 commit comments

Comments
 (0)