mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-12 02:23:47 +00:00
Change some nfc_target_mode_t to insist on the restrictions offer these mode
This commit is contained in:
@@ -87,7 +87,7 @@ main (int argc, const char *argv[])
|
||||
printf ("NFC device will now act as this D.E.P. target:\n");
|
||||
print_nfc_dep_info ( nt.nti.ndi );
|
||||
printf ("Waiting for initiator request...\n");
|
||||
if(!nfc_target_init (pnd, NTM_DEP, nt, abtRx, &szRx)) {
|
||||
if(!nfc_target_init (pnd, NTM_DEP_ONLY, nt, abtRx, &szRx)) {
|
||||
nfc_perror(pnd, "nfc_target_init");
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user