mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-04-22 22:46:17 +00:00
nfc_target_init() now update nfc_target_t baud rate
This commit is contained in:
@@ -136,7 +136,7 @@ main (int argc, char *argv[])
|
||||
.nti.nai.szAtsLen = 0,
|
||||
};
|
||||
|
||||
if (!nfc_target_init (pndTag, NTM_PASSIVE_ONLY, nt, abtReaderRx, &szReaderRxBits)) {
|
||||
if (!nfc_target_init (pndTag, NTM_PASSIVE_ONLY, &nt, abtReaderRx, &szReaderRxBits)) {
|
||||
ERR ("%s", "Initialization of NFC emulator failed");
|
||||
nfc_disconnect (pndTag);
|
||||
return EXIT_FAILURE;
|
||||
|
||||
Reference in New Issue
Block a user