mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-18 07:00:34 +08:00
Increase timeout in an attempt to prevent timout python failure
This commit is contained in:
@@ -180,7 +180,7 @@ class uploader(object):
|
||||
|
||||
def __init__(self, portname, baudrate):
|
||||
# open the port, keep the default timeout short so we can poll quickly
|
||||
self.port = serial.Serial(portname, baudrate, timeout=0.5)
|
||||
self.port = serial.Serial(portname, baudrate, timeout=2.0)
|
||||
self.otp = b''
|
||||
self.sn = b''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user