Fix reply frame length for InAutoPoll
This commit is contained in:
parent
6ca32fbfb9
commit
6edb5a3bef
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue