mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-10 09:33:48 +00:00
Fix *transceive*() calls from examples and utils (bug introduced in previous commit)
This commit is contained in:
@@ -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 ((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
|
||||
|
||||
Reference in New Issue
Block a user