mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-12 02:23:47 +00:00
Fixes pn53x_usb timeout while bulk write.
Thanks to Tredger for reporting. Fixes issue 223.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user