From f2a3d510371dfab49aea405b2ea644522a63c581 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Wed, 13 Oct 2010 19:50:43 +0000 Subject: [PATCH] Fix a bug introduce in r729, fix a compilation warning --- examples/nfc-utils.h | 2 ++ libnfc/chips/pn53x.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/nfc-utils.h b/examples/nfc-utils.h index 46472f3..1497bbe 100644 --- a/examples/nfc-utils.h +++ b/examples/nfc-utils.h @@ -40,6 +40,8 @@ void print_nfc_felica_info (const nfc_felica_info_t nfi); void print_nfc_jewel_info (const nfc_jewel_info_t nji); void print_nfc_dep_info (const nfc_dep_info_t ndi); +void print_nfc_target (const nfc_target_t nt); + nfc_device_desc_t *parse_device_desc (int argc, const char *argv[], size_t * szFound); #endif diff --git a/libnfc/chips/pn53x.c b/libnfc/chips/pn53x.c index a4d0e0d..2be4b53 100644 --- a/libnfc/chips/pn53x.c +++ b/libnfc/chips/pn53x.c @@ -1410,7 +1410,7 @@ pn53x_ptt_to_nmt( const pn53x_target_type_t ptt ) case PTT_MIFARE: case PTT_ISO14443_4A_106: - return NMT_ISO14443B; + return NMT_ISO14443A; break; case PTT_ISO14443_4B_106: