rename nfc_connect() function to nfc_open().
This commit is contained in:
parent
9eb37b3eee
commit
324af418db
36 changed files with 117 additions and 117 deletions
|
|
@ -72,12 +72,12 @@ main (int argc, const char *argv[])
|
|||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
pnd = nfc_connect (NULL);
|
||||
pnd = nfc_open (NULL);
|
||||
if (!pnd) {
|
||||
printf("Unable to connect to NFC device.\n");
|
||||
printf("Unable to open NFC device.\n");
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
printf ("Connected to NFC device: %s\n", nfc_device_get_name (pnd));
|
||||
printf ("NFC device: %s\n opened", nfc_device_get_name (pnd));
|
||||
|
||||
signal (SIGINT, stop_dep_communication);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue