Skip to content

Commit

Permalink
Increse size of the flush-out buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Aug 23, 2024
1 parent f206877 commit 0cac192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usb_windows.c
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ static DWORD GetUsbDevice(int vendorId, int productId, char* serialNumber, PDEVI
// short this times out before it has time to complete. The reason for
// doing this is that there might be data left in the device buffers from
// earlier transactions, this should flush it.
BYTE buf[2048];
BYTE buf[4096];
ULONG transferred = 0;
ULONG timeout = 10;

Expand Down

0 comments on commit 0cac192

Please sign in to comment.