Skip to content

Commit

Permalink
Update mfrc522.py
Browse files Browse the repository at this point in the history
bad OR syntax...
  • Loading branch information
jr-k committed Jul 25, 2017
1 parent a4f2a14 commit 9de1369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mfrc522.py
Expand Up @@ -26,7 +26,7 @@ def __init__(self, sck, mosi, miso, rst, cs):

board = uname()[0]

if board == 'WiPy' || board == 'LoPy' || board == 'FiPy':
if board == 'WiPy' or board == 'LoPy' or board == 'FiPy':
self.spi = SPI(0)
self.spi.init(SPI.MASTER, baudrate=1000000, pins=(self.sck, self.mosi, self.miso))
elif board == 'esp8266':
Expand Down

0 comments on commit 9de1369

Please sign in to comment.