diff --git a/app.rb b/app.rb index ec5eaba..48fe183 100644 --- a/app.rb +++ b/app.rb @@ -101,7 +101,7 @@ helpers do device.open do |handle| handle.auto_detach_kernel_driver = true # usblp kernel driver otherwise holds the interface handle.claim_interface(0) do - handle.bulk_transfer(endpoint: DATAMAX_ENDPOINT, dataOut: data) + handle.bulk_transfer(endpoint: DATAMAX_ENDPOINT, dataOut: data, timeout: 30_000) # USB 1.1, large ZPL payloads need more than the 1s default end end end