mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-27 04:06:38 +00:00
pn53x target_init: fix bug to use Tk; nfc-relay-picc: fix potential segfault
This commit is contained in:
@@ -232,6 +232,11 @@ main (int argc, char *argv[])
|
||||
pndInitiator = nfc_connect (&(pnddDevices[1]));
|
||||
}
|
||||
|
||||
if (!pndInitiator) {
|
||||
printf ("Error connecting NFC reader\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
printf ("Connected to the NFC reader device: %s\n", pndInitiator->acName);
|
||||
|
||||
// Try to find a ISO 14443-4A tag
|
||||
|
||||
Reference in New Issue
Block a user