Reset pnd->iLastError in nfc.c.
This commit is contained in:
parent
769eef20f7
commit
c9f88e17a1
2 changed files with 2 additions and 2 deletions
|
|
@ -463,8 +463,6 @@ pn53x_InAutoPoll(nfc_device_t* pnd,
|
|||
bool res;
|
||||
byte_t *pbtTxInAutoPoll;
|
||||
|
||||
pnd->iLastError = 0;
|
||||
|
||||
if(pnd->nc == NC_PN531) {
|
||||
// TODO This function is not supported by pn531 (set errno = ENOSUPP or similar)
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue