examples, test and utils use now nfc_exit() function.
This commit is contained in:
parent
1d55b6f8c6
commit
207199dc34
25 changed files with 59 additions and 9 deletions
|
|
@ -65,8 +65,9 @@ intr_hdlr (void)
|
|||
{
|
||||
printf ("\nQuitting...\n");
|
||||
if (pnd != NULL) {
|
||||
nfc_close(pnd);
|
||||
nfc_close(pnd);
|
||||
}
|
||||
nfc_exit ();
|
||||
exit (EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
|
@ -268,6 +269,7 @@ main (int argc, char *argv[])
|
|||
}
|
||||
|
||||
nfc_close(pnd);
|
||||
nfc_exit ();
|
||||
exit (EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue