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
|
|
@ -343,7 +343,7 @@ main (int argc, char *argv[])
|
|||
|
||||
printf ("Connected to the NFC emulator device: %s\n", pndTarget->acName);
|
||||
|
||||
if (!nfc_target_init (pndTarget, NTM_ISO14443_4_PICC_ONLY, ntEmulatedTarget, abtCapdu, &szCapduLen)) {
|
||||
if (!nfc_target_init (pndTarget, NTM_ISO14443_4_PICC_ONLY, &ntEmulatedTarget, abtCapdu, &szCapduLen)) {
|
||||
ERR ("%s", "Initialization of NFC emulator failed");
|
||||
if (!target_only_mode) {
|
||||
nfc_disconnect (pndInitiator);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue