From 178f73d98a7d0cf6b165884c83627b64770b6419 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Mon, 4 Oct 2010 13:30:12 +0000 Subject: [PATCH] nfc-sam: NTM_PICC does exist anymore and I dont think thats needed to all but ISO14443-4 initiator in this place. --- examples/nfc-sam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nfc-sam.c b/examples/nfc-sam.c index 4bb1646..6197a43 100644 --- a/examples/nfc-sam.c +++ b/examples/nfc-sam.c @@ -215,7 +215,7 @@ main (int argc, const char *argv[]) .nti.nai.szUidLen = 4, .nti.nai.szAtsLen = 0, }; - if (!nfc_target_init (pnd, NTM_PICC, nt, abtRx, &szRxLen)) + if (!nfc_target_init (pnd, NTM_NORMAL, nt, abtRx, &szRxLen)) return EXIT_FAILURE; printf ("Now both the NFC reader and SAM are readable for 1 minute from an external reader.\n");