Generic library for working with PN532-like chips

Fork of PN532 by Seeed

Revision:
10:f959b305a571
Parent:
3:4189a10038e6
Child:
11:5b8afec8bee6
--- a/NfcTag.cpp	Wed Feb 04 16:24:30 2015 +0000
+++ b/NfcTag.cpp	Wed Feb 04 19:04:54 2015 +0000
@@ -83,7 +83,7 @@
             uidString += " ";
         }
 
-        if (_uid[i] < 0xF)
+        if (_uid[i] < 0xA)
         {
             uidString += "0";
         }
@@ -113,7 +113,7 @@
 void NfcTag::print()
 {
     DMSG("NFC Tag - ");
-    DMSG_INT(_tagType);
+    DMSG(_tagType.c_str());
     DMSG("UID - ");
     DMSG(getUidString().c_str());
     if (_ndefMessage == NULL)
@@ -124,4 +124,5 @@
     {
         _ndefMessage->print();
     }
+    DMSG("\n");
 }