From 6edb5a3befc3e20005a9010dc60ff8d5212717fe Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Thu, 6 Jan 2011 13:20:45 +0000 Subject: [PATCH] Fix reply frame length for InAutoPoll --- libnfc/chips/pn53x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libnfc/chips/pn53x.c b/libnfc/chips/pn53x.c index 47efa4f..6ea63dc 100644 --- a/libnfc/chips/pn53x.c +++ b/libnfc/chips/pn53x.c @@ -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) { size_t szTxInAutoPoll, - n, - szRx; + n; byte_t abtRx[PN53x_EXTENDED_FRAME_MAX_LEN]; + size_t szRx = PN53x_EXTENDED_FRAME_MAX_LEN; bool res; byte_t *pbtTxInAutoPoll;