Update minipush.rb

Fixes #89
pull/99/head
Andre Richter 3 years ago committed by GitHub
parent 3a430163b5
commit b74a931d01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,7 +28,7 @@ class MiniPush < MiniTerm
# The three characters signaling the request token are expected to arrive as the last three
# characters _at the end_ of a character stream (e.g. after a header print from Miniload).
def wait_for_binary_request
Timeout.timeout(7) do
Timeout.timeout(30) do
loop do
received = @target_serial.readpartial(4096)

Loading…
Cancel
Save