mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-07-24 20:51:56 +00:00
Improve API for target emulation, nfc_target_mode_t does not exist anymore (this mode is computed from nfc_target_t)
This commit is contained in:
@@ -89,7 +89,7 @@ main (int argc, const char *argv[])
|
||||
print_nfc_target (nt);
|
||||
|
||||
printf ("Waiting for initiator request...\n");
|
||||
if(!nfc_target_init (pnd, NTM_DEP_ONLY, &nt, abtRx, &szRx)) {
|
||||
if(!nfc_target_init (pnd, &nt, abtRx, &szRx)) {
|
||||
nfc_perror(pnd, "nfc_target_init");
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user