Merge pull request #164 from Rotzbua/master

fix compile error #163
You are the one, thank you again @Rotzbua
This commit is contained in:
Miki Balboa
2016-01-05 09:11:28 -08:00

View File

@@ -66,7 +66,7 @@ void loop() {
return;
Serial.print(F("PICC type: "));
byte piccType = rfid.PICC_GetType(rfid.uid.sak);
MFRC522::PICC_Type piccType = rfid.PICC_GetType(rfid.uid.sak);
Serial.println(rfid.PICC_GetTypeName(piccType));
// Check is the PICC of Classic MIFARE type
@@ -96,7 +96,7 @@ void loop() {
printDec(rfid.uid.uidByte, rfid.uid.size);
Serial.println();
}
else Serial.println("Card read previously.");
else Serial.println(F("Card read previously."));
// Halt PICC
rfid.PICC_HaltA();