From f9da64e844e0250865a9d107a58e13a77afee403 Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Tue, 5 Jan 2016 11:40:37 +0100 Subject: [PATCH] fix compile error #163 --- examples/ReadNUID/ReadNUID.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ReadNUID/ReadNUID.ino b/examples/ReadNUID/ReadNUID.ino index b02b204..a66ca8a 100644 --- a/examples/ReadNUID/ReadNUID.ino +++ b/examples/ReadNUID/ReadNUID.ino @@ -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();