Skip to content

Commit

Permalink
increase pyserial timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Aug 13, 2024
1 parent 61725a5 commit f231707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/hil/hil_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def open_serial_dev(port):
# slight delay since kernel may occupy the port briefly
time.sleep(0.5)
timeout = timeout - 0.5
ser = serial.Serial(port, timeout=2)
ser = serial.Serial(port, timeout=5)
break
except serial.SerialException:
pass
Expand Down

0 comments on commit f231707

Please sign in to comment.