mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-19 09:16:38 +00:00
usbboot: Add bulk transfer timeout
Change-type: patch Signed-off-by: Juan Cruz Viotti <juan@balena.io>
This commit is contained in:
parent
a3bd09337b
commit
ed6fb1888e
@ -112,8 +112,7 @@ const USB_REQUEST_DELAY_MS = 1000
|
|||||||
* @type {Number}
|
* @type {Number}
|
||||||
* @constant
|
* @constant
|
||||||
*/
|
*/
|
||||||
// In node-usb, 0 means "infinite" timeout
|
const USB_BULK_TRANSFER_TIMEOUT_MS = 10000
|
||||||
const USB_BULK_TRANSFER_TIMEOUT_MS = 0
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @summary The amount of bits to shift to the right on a control transfer index
|
* @summary The amount of bits to shift to the right on a control transfer index
|
||||||
|
Loading…
x
Reference in New Issue
Block a user