mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-07-25 13:11:49 +00:00
examples, test and utils use now nfc_init() function.
This commit is contained in:
@@ -190,6 +190,8 @@ main (int argc, char *argv[])
|
||||
signal (SIGINT, (void (*)()) intr_hdlr);
|
||||
#endif
|
||||
|
||||
nfc_init ();
|
||||
|
||||
nfc_connstring connstrings[MAX_DEVICE_COUNT];
|
||||
// List available devices
|
||||
size_t szFound = nfc_list_devices (connstrings, MAX_DEVICE_COUNT);
|
||||
|
||||
Reference in New Issue
Block a user