From ca66cbefd82c8dfecb4dacf2ec68a7edc9ea8f83 Mon Sep 17 00:00:00 2001 From: mayatforest Date: Tue, 1 Dec 2015 22:02:01 +0400 Subject: [PATCH] Use 1-8 bit number notation --- MFRC522.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MFRC522.cpp b/MFRC522.cpp index 9c10969..2d9f571 100644 --- a/MFRC522.cpp +++ b/MFRC522.cpp @@ -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 //3.2 Coding of Select Acknowledge (SAK) - //ignore 7-bit + //ignore 8-bit sak&=0x7F; switch (sak) { case 0x09: return PICC_TYPE_MIFARE_MINI; break;