fix compile error #163

This commit is contained in:
Rotzbua
2016-01-05 11:40:37 +01:00
parent 04d8300727
commit f9da64e844

View File

@@ -66,7 +66,7 @@ void loop() {
return; return;
Serial.print(F("PICC type: ")); 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)); Serial.println(rfid.PICC_GetTypeName(piccType));
// Check is the PICC of Classic MIFARE type // Check is the PICC of Classic MIFARE type
@@ -96,7 +96,7 @@ void loop() {
printDec(rfid.uid.uidByte, rfid.uid.size); printDec(rfid.uid.uidByte, rfid.uid.size);
Serial.println(); Serial.println();
} }
else Serial.println("Card read previously."); else Serial.println(F("Card read previously."));
// Halt PICC // Halt PICC
rfid.PICC_HaltA(); rfid.PICC_HaltA();