Update mfrc522.py

bad OR syntax...
This commit is contained in:
JRK 2017-07-25 22:44:28 +02:00 committed by GitHub
parent a4f2a148b7
commit 9de136968e

View file

@ -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':