From bd8a46c3c863eaf687aa17abd83d80b7b20f13b5 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Fri, 20 Aug 2010 10:25:37 +0000 Subject: [PATCH] Fix pn532_uart compilation --- libnfc/drivers/pn532_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnfc/drivers/pn532_uart.c b/libnfc/drivers/pn532_uart.c index d6b18de..88d01f5 100644 --- a/libnfc/drivers/pn532_uart.c +++ b/libnfc/drivers/pn532_uart.c @@ -221,7 +221,7 @@ bool pn532_uart_transceive(nfc_device_t* pnd, const byte_t* pbtTx, const size_t #endif // WARN: UART is a per byte reception, so you usually receive ACK and next frame the same time - if (!pn53x_transceive_callback(pnd, abtRxBuf, szRxBufLen)) + if (!pn53x_transceive_check_ack_frame_callback(pnd, abtRxBuf, szRxBufLen)) return false; szRxBufLen -= sizeof(ack_frame); memmove(abtRxBuf, abtRxBuf+sizeof(ack_frame), szRxBufLen);