Update mfrc522.py
bad OR syntax...
This commit is contained in:
parent
a4f2a148b7
commit
9de136968e
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class MFRC522:
|
|||
|
||||
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':
|
||||
|
|
Loading…
Reference in a new issue