Clean up wrong comments in nfc-poll.

This commit is contained in:
Romuald Conty 2010-08-16 16:27:50 +00:00
parent 8a75f5b45e
commit 41b1455f04

View file

@ -102,14 +102,9 @@ main (int argc, const char *argv[])
printf ("Connected to NFC reader: %s\n", pnd->acName); 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) { if (pnd->nc == NC_PN531) {
// PN531 doesn't support hardware polling (InAutoPoll) // 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."); WARN ("%s", "PN531 doesn't support hardware polling.");
continue; continue;
} }