examples, test and utils use now nfc_exit() function.

This commit is contained in:
Audrey Diacre 2012-01-18 11:36:18 +00:00
parent 1d55b6f8c6
commit 207199dc34
25 changed files with 59 additions and 9 deletions

View file

@ -215,6 +215,7 @@ main (int argc, char *argv[])
if (!transmit_bits (abtReqa, 7)) {
printf ("Error: No tag available\n");
nfc_close (pnd);
nfc_exit ();
return 1;
}
memcpy (abtAtqa, abtRx, 2);
@ -353,5 +354,6 @@ main (int argc, char *argv[])
nfc_close (pnd);
nfc_exit ();
return 0;
}