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

This commit is contained in:
Audrey Diacre 2012-01-18 11:09:01 +00:00
parent d1b0e93e8e
commit 1d55b6f8c6
26 changed files with 51 additions and 7 deletions

View file

@ -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) {