Use default timeout in nfc-anticol example (prevents RX from locking after HALT)
This commit is contained in:
parent
1eaa4dabdf
commit
a9b1b94ffd
@ -130,7 +130,7 @@ transmit_bytes(const uint8_t *pbtTx, const size_t szTx)
|
||||
printf("Response after %u cycles\n", cycles);
|
||||
}
|
||||
} else {
|
||||
if ((res = nfc_initiator_transceive_bytes(pnd, pbtTx, szTx, abtRx, sizeof(abtRx), 0)) < 0)
|
||||
if ((res = nfc_initiator_transceive_bytes(pnd, pbtTx, szTx, abtRx, sizeof(abtRx), -1)) < 0)
|
||||
return false;
|
||||
}
|
||||
szRx = res;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user