mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-11 10:03:49 +00:00
Fix pn53x_InAutoPoll().
This commit is contained in:
@@ -482,7 +482,7 @@ pn53x_InAutoPoll(nfc_device_t* pnd,
|
|||||||
}
|
}
|
||||||
|
|
||||||
szRxLen = 256;
|
szRxLen = 256;
|
||||||
res = pnd->pdc->transceive(pnd->nds, pbtTxInAutoPoll, szTxInAutoPoll, abtRx, &szRxLen);
|
res = pnd->pdc->transceive(pnd, pbtTxInAutoPoll, szTxInAutoPoll, abtRx, &szRxLen);
|
||||||
|
|
||||||
if((szRxLen == 0)||(res == false)) {
|
if((szRxLen == 0)||(res == false)) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user