Use 1-8 bit number notation
This commit is contained in:
@@ -1177,7 +1177,7 @@ byte MFRC522::PICC_GetType(byte sak ///< The SAK byte returned from PICC_Select
|
|||||||
}
|
}
|
||||||
//http://www.nxp.com/documents/application_note/AN10833.pdf
|
//http://www.nxp.com/documents/application_note/AN10833.pdf
|
||||||
//3.2 Coding of Select Acknowledge (SAK)
|
//3.2 Coding of Select Acknowledge (SAK)
|
||||||
//ignore 7-bit
|
//ignore 8-bit
|
||||||
sak&=0x7F;
|
sak&=0x7F;
|
||||||
switch (sak) {
|
switch (sak) {
|
||||||
case 0x09: return PICC_TYPE_MIFARE_MINI; break;
|
case 0x09: return PICC_TYPE_MIFARE_MINI; break;
|
||||||
|
|||||||
Reference in New Issue
Block a user