some additional fixes

Fork of PN532 by Seeed

Files at this revision

API Documentation at this revision

Comitter:
vilesovds
Date:
Thu Jun 02 16:23:37 2016 +0000
Parent:
9:85bfede025da
Commit message:
fixed NfcTag::getUid

Changed in this revision

NfcTag.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/NfcTag.cpp	Wed Feb 04 16:24:30 2015 +0000
+++ b/NfcTag.cpp	Thu Jun 02 16:23:37 2016 +0000
@@ -69,7 +69,7 @@
 
 void NfcTag::getUid(uint8_t *uid, unsigned int uidLength)
 {
-    memcpy(_uid, uid, uidLength);
+    memcpy(uid, _uid, uidLength);
 }
 
 string NfcTag::getUidString()