Fix reply frame length for InAutoPoll

This commit is contained in:
Romuald Conty 2011-01-06 13:20:45 +00:00
parent 6ca32fbfb9
commit 6edb5a3bef

View file

@ -666,9 +666,9 @@ pn53x_InAutoPoll (nfc_device_t * pnd,
const byte_t btPollNr, const byte_t btPeriod, nfc_target_t * pntTargets, size_t * pszTargetFound) const byte_t btPollNr, const byte_t btPeriod, nfc_target_t * pntTargets, size_t * pszTargetFound)
{ {
size_t szTxInAutoPoll, size_t szTxInAutoPoll,
n, n;
szRx;
byte_t abtRx[PN53x_EXTENDED_FRAME_MAX_LEN]; byte_t abtRx[PN53x_EXTENDED_FRAME_MAX_LEN];
size_t szRx = PN53x_EXTENDED_FRAME_MAX_LEN;
bool res; bool res;
byte_t *pbtTxInAutoPoll; byte_t *pbtTxInAutoPoll;