mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-23 06:56:20 +00:00
examples, test and utils use now nfc_init() function.
This commit is contained in:
@@ -115,6 +115,9 @@ main (int argc, char *argv[])
|
||||
ERR ("%zd device found but two opened devices are needed to relay NFC.", szFound);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
nfc_init ();
|
||||
|
||||
// Try to open the NFC emulator device
|
||||
pndTag = nfc_open (connstrings[0]);
|
||||
if (pndTag == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user