Fix *transceive*() calls from examples and utils (bug introduced in previous commit)

This commit is contained in:
Romuald Conty 2012-11-24 13:00:23 +01:00
parent 6650105174
commit 3ee77eb79e
5 changed files with 7 additions and 5 deletions

View file

@ -98,7 +98,7 @@ transmit_bits(const uint8_t *pbtTx, const size_t szTxBits)
printf("Sent bits: ");
print_hex_bits(pbtTx, szTxBits);
// Transmit the bit frame command, we don't use the arbitrary parity feature
if ((szRxBits = nfc_initiator_transceive_bits(pnd, pbtTx, szTxBits, NULL, abtRx, NULL)) < 0)
if ((szRxBits = nfc_initiator_transceive_bits(pnd, pbtTx, szTxBits, NULL, abtRx, sizeof(abtRx), NULL)) < 0)
return false;
// Show received answer