From a9b1b94ffd93b2d1035763a8362628eef8916867 Mon Sep 17 00:00:00 2001 From: Marcos Vives Del Sol Date: Sat, 20 Jun 2015 16:58:11 +0200 Subject: [PATCH] Use default timeout in nfc-anticol example (prevents RX from locking after HALT) --- examples/nfc-anticol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nfc-anticol.c b/examples/nfc-anticol.c index 3e9d533..4630f74 100644 --- a/examples/nfc-anticol.c +++ b/examples/nfc-anticol.c @@ -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;