diff --git a/libnfc/chips/pn53x.c b/libnfc/chips/pn53x.c index d9c8a91..ee310c7 100644 --- a/libnfc/chips/pn53x.c +++ b/libnfc/chips/pn53x.c @@ -511,10 +511,16 @@ pn53x_initiator_poll_targets (nfc_device_t * pnd, const byte_t btPollNr, const byte_t btPeriod, nfc_target_t * pntTargets, size_t * pszTargetFound) { - const size_t szTargetTypes = szModulations; + size_t szTargetTypes = 0; pn53x_target_type_t apttTargetTypes[32]; - for (size_t n=0; n