Flag references to deprecated usage of pn53x_transceive().
New issue Summary: pn53x_transceive() workaround reverences in examples/nfc-poll.c comments Status: New Owner: rconty@il4p.fr Cc: rtartiere@il4p.fr The source code of nfc-poll has references to no using pn53x_transceive() for the status-byte workaround reason in a comment. However this function is not called in the code. While I guess that's some comment that should have been removed and have never reached the svn repo, I prefer to be sure that it can be removed. The comments where introduced at the same time of the file, at r353.
This commit is contained in:
parent
d498fcd48e
commit
301d692e8a
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ 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)
|
// NOTE we can't use pn53x_transceive() because rx[0] is not status byte (0x00 != status OK)
|
||||||
|
// XXX: as of r491, this is no longer the case. Unfortunately I can't be sure that these comments can be removed.
|
||||||
// bool pn53x_transceive(const nfc_device_t* pnd, const byte_t* pbtTx, const size_t szTxLen, byte_t* pbtRx, size_t* pszRxLen);
|
// 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 res = pn53x_transceive(pnd, abtTx, szTxLen, abtRx, &szRxLen);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue