Fix self.ERR line 228

Fix line 228  self.Err instead of self.MI_Err
This commit is contained in:
Daniel Perron
2021-02-10 14:59:34 -05:00
committed by GitHub
parent 77071b6fd3
commit 4425620918

View File

@@ -225,7 +225,7 @@ class MFRC522:
if self.DEBUG: print("anticol(1) {}".format(uid))
if self.PcdSelect(uid,self.PICC_ANTICOLL1) == 0:
return (self.MI_ERR,[])
return (self.ERR,[])
if self.DEBUG: print("pcdSelect(1) {}".format(uid))
#check if first byte is 0x88