mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-12 18:43:47 +00:00
Fixes pn53x_usb timeout while bulk write.
Thanks to Tredger for reporting. Fixes issue 223.
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
Jan TBD, 2013 - 1.7.0-rc3 (release candidate)
|
Jan TBD, 2013 - 1.7.0-rc3 (release candidate)
|
||||||
--------------------------------------------
|
--------------------------------------------
|
||||||
|
|
||||||
|
Fixes:
|
||||||
|
- Fix pn53x_usb bulk write timeout
|
||||||
|
|
||||||
Changes:
|
Changes:
|
||||||
- nfc_emulate_target() now takes timeout parameter
|
- nfc_emulate_target() now takes timeout parameter
|
||||||
|
|
||||||
|
|||||||
@@ -652,7 +652,7 @@ read:
|
|||||||
int
|
int
|
||||||
pn53x_usb_ack(nfc_device *pnd)
|
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
|
int
|
||||||
|
|||||||
Reference in New Issue
Block a user