Fixes pn53x_usb timeout while bulk write.
Thanks to Tredger for reporting. Fixes issue 223.
This commit is contained in:
parent
cd2b03a08a
commit
98948172b4
2 changed files with 4 additions and 1 deletions
|
|
@ -652,7 +652,7 @@ read:
|
|||
int
|
||||
pn53x_usb_ack(nfc_device *pnd)
|
||||
{
|
||||
return pn53x_usb_bulk_write(DRIVER_DATA(pnd), (uint8_t *) pn53x_ack_frame, sizeof(pn53x_ack_frame), -1);
|
||||
return pn53x_usb_bulk_write(DRIVER_DATA(pnd), (uint8_t *) pn53x_ack_frame, sizeof(pn53x_ack_frame), 1000);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue