nfc_initiator_transceive_bits() function does not now use pszRxBits as parameter because this function returns it.
This commit is contained in:
parent
61c3e5b814
commit
6e7092b160
9 changed files with 18 additions and 20 deletions
|
|
@ -83,7 +83,7 @@ transmit_bits (const uint8_t *pbtTx, const size_t szTxBits)
|
|||
print_hex_bits (pbtTx, szTxBits);
|
||||
}
|
||||
// Transmit the bit frame command, we don't use the arbitrary parity feature
|
||||
if (nfc_initiator_transceive_bits (pnd, pbtTx, szTxBits, NULL, abtRx, &szRxBits, NULL) < 0)
|
||||
if ((szRxBits = nfc_initiator_transceive_bits (pnd, pbtTx, szTxBits, NULL, abtRx, NULL)) < 0)
|
||||
return false;
|
||||
|
||||
// Show received answer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue