mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-21 22:16:16 +00:00
examples, test and utils use now nfc_init() function.
This commit is contained in:
@@ -537,6 +537,8 @@ main (int argc, const char *argv[])
|
||||
}
|
||||
// printf("Successfully opened required files\n");
|
||||
|
||||
nfc_init ();
|
||||
|
||||
// Try to open the NFC reader
|
||||
pnd = nfc_open (NULL);
|
||||
if (pnd == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user