nfc-sam: NTM_PICC does exist anymore and I dont think thats needed to all but ISO14443-4 initiator in this place.

This commit is contained in:
Romuald Conty 2010-10-04 13:30:12 +00:00
parent da1de80aa6
commit 178f73d98a

View file

@ -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");