fix line 282 self.PcdSelect. Thanks andyboy-uk81
This commit is contained in:
@@ -279,7 +279,7 @@ class MFRC522:
|
|||||||
if status != self.OK:
|
if status != self.OK:
|
||||||
return (self.ERR,[])
|
return (self.ERR,[])
|
||||||
if self.DEBUG: print("Anticol(3) {}".format(uid))
|
if self.DEBUG: print("Anticol(3) {}".format(uid))
|
||||||
if self.MFRC522_PcdSelect(uid,self.PICC_ANTICOLL3) == 0:
|
if self.PcdSelect(uid,self.PICC_ANTICOLL3) == 0:
|
||||||
return (self.ERR,[])
|
return (self.ERR,[])
|
||||||
if self.DEBUG: print("PcdSelect(3) {}".format(uid))
|
if self.DEBUG: print("PcdSelect(3) {}".format(uid))
|
||||||
valid_uid.extend(uid[0:5])
|
valid_uid.extend(uid[0:5])
|
||||||
|
|||||||
Reference in New Issue
Block a user