From 8672c809bded51e35d75b65eb988dc1f1180c6a5 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Tue, 28 Sep 2010 15:31:31 +0000 Subject: [PATCH] example: Jewel support in nfc-list and nfc-poll. (Many thanks to Phil) --- examples/nfc-list.c | 7 +++---- examples/nfc-poll.c | 42 ++++++++++++++++++++++++++++++++++++------ examples/nfc-utils.c | 9 +++++++++ libnfc/nfc.c | 4 ++-- 4 files changed, 50 insertions(+), 12 deletions(-) diff --git a/examples/nfc-list.c b/examples/nfc-list.c index 5394cf7..756e629 100644 --- a/examples/nfc-list.c +++ b/examples/nfc-list.c @@ -181,16 +181,15 @@ main (int argc, const char *argv[]) } } -/* // List Jewel targets if (nfc_initiator_list_passive_targets(pnd, NM_JEWEL_106, anti, MAX_TARGET_COUNT, &szTargetFound )) { size_t n; - printf("%d Jewel passive target(s) was found%s\n", (int)szTargetFound, (szTargetFound==0)?".\n":":"); for(n=0; n