Clean up wrong comments in nfc-poll.
This commit is contained in:
parent
8a75f5b45e
commit
41b1455f04
1 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue