Add timeout parameter to nfc_emulate_target() function.
Fixes issue 219. Thanks to raidolinja.
This commit is contained in:
parent
b675db73be
commit
cd2b03a08a
6 changed files with 34 additions and 10 deletions
|
|
@ -382,7 +382,7 @@ main(int argc, char *argv[])
|
|||
printf("NFC device: %s opened\n", nfc_device_get_name(pnd));
|
||||
printf("Emulating NDEF tag now, please touch it with a second NFC device\n");
|
||||
|
||||
if (0 != nfc_emulate_target(pnd, &emulator)) { // contains already nfc_target_init() call
|
||||
if (0 != nfc_emulate_target(pnd, &emulator, 0)) { // contains already nfc_target_init() call
|
||||
nfc_perror(pnd, "nfc_emulate_target");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue