examples, test and utils use now nfc_init() function.
This commit is contained in:
parent
d1b0e93e8e
commit
1d55b6f8c6
26 changed files with 51 additions and 7 deletions
|
|
@ -71,6 +71,7 @@ main (int argc, const char *argv[])
|
|||
// the same machine: if there is more than one readers opened
|
||||
// nfc-dep-target will open the second reader
|
||||
// (we hope they're always detected in the same order)
|
||||
nfc_init ();
|
||||
if (szDeviceFound == 1) {
|
||||
pnd = nfc_open (connstrings[0]);
|
||||
} else if (szDeviceFound > 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue