mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-10 09:33:48 +00:00
pn53x_initiator_poll_target() function returns now polled targets count on success.
This commit is contained in:
@@ -109,7 +109,7 @@ main (int argc, const char *argv[])
|
||||
exit (EXIT_FAILURE);
|
||||
}
|
||||
|
||||
if (res == 0) {
|
||||
if (res > 0) {
|
||||
print_nfc_target ( nt, verbose );
|
||||
} else {
|
||||
printf ("No target found.\n");
|
||||
|
||||
Reference in New Issue
Block a user