From 41b1455f04c6605d9f79adcfa101d81321e427de Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Mon, 16 Aug 2010 16:27:50 +0000 Subject: [PATCH] Clean up wrong comments in nfc-poll. --- examples/nfc-poll.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/examples/nfc-poll.c b/examples/nfc-poll.c index 1536610..304816a 100644 --- a/examples/nfc-poll.c +++ b/examples/nfc-poll.c @@ -102,14 +102,9 @@ main (int argc, const char *argv[]) printf ("Connected to NFC reader: %s\n", pnd->acName); -// NOTE we can't use pn53x_transceive() because rx[0] is not status byte (0x00 != status OK) -// bool pn53x_transceive(const nfc_device_t* pnd, const byte_t* pbtTx, const size_t szTxLen, byte_t* pbtRx, size_t* pszRxLen); -// bool res = pn53x_transceive(pnd, abtTx, szTxLen, abtRx, &szRxLen); - -// bool (*transceive)(const nfc_device_spec_t nds, const byte_t* pbtTx, const size_t szTxLen, byte_t* pbtRx, size_t* pszRxLen); - if (pnd->nc == NC_PN531) { // PN531 doesn't support hardware polling (InAutoPoll) + // TODO find a way to handle this in higher level (i.e. libnfc) WARN ("%s", "PN531 doesn't support hardware polling."); continue; }