nfc_target_init() now update nfc_target_t baud rate
This commit is contained in:
parent
7294e4fbaf
commit
7c76e1bf32
11 changed files with 45 additions and 37 deletions
|
|
@ -140,7 +140,7 @@ main (int argc, char *argv[])
|
|||
.nti.nai.szUidLen = 4,
|
||||
.nti.nai.szAtsLen = 0,
|
||||
};
|
||||
if (!nfc_target_init (pnd, NTM_PASSIVE_ONLY, nt, abtRecv, &szRecvBits)) {
|
||||
if (!nfc_target_init (pnd, NTM_PASSIVE_ONLY, &nt, abtRecv, &szRecvBits)) {
|
||||
ERR ("Could not come out of auto-emulation, no command was received");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue