Reset pnd->iLastError in nfc.c.

This commit is contained in:
Romain Tartiere
2010-08-18 14:44:19 +00:00
parent 769eef20f7
commit c9f88e17a1
2 changed files with 2 additions and 2 deletions

View File

@@ -593,6 +593,8 @@ nfc_initiator_poll_targets(nfc_device_t* pnd,
const byte_t btPollNr, const byte_t btPeriod,
nfc_target_t* pntTargets, size_t* pszTargetFound)
{
pnd->iLastError = 0;
return pn53x_InAutoPoll(pnd, pnttTargetTypes, szTargetTypes, btPollNr, btPeriod, pntTargets, pszTargetFound);
}