mirror of
https://github.com/nfc-tools/libnfc.git
synced 2025-12-24 03:00:07 +00:00
Fixes pn53x_usb timeout while bulk write.
Thanks to Tredger for reporting. Fixes issue 223.
This commit is contained in:
parent
cd2b03a08a
commit
98948172b4
@ -1,6 +1,9 @@
|
||||
Jan TBD, 2013 - 1.7.0-rc3 (release candidate)
|
||||
--------------------------------------------
|
||||
|
||||
Fixes:
|
||||
- Fix pn53x_usb bulk write timeout
|
||||
|
||||
Changes:
|
||||
- nfc_emulate_target() now takes timeout parameter
|
||||
|
||||
|
||||
@ -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…
x
Reference in New Issue
Block a user