mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 16:23:33 +08:00
Make 'make upload' work
This commit is contained in:
@@ -167,7 +167,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.25)
|
||||
self.port = serial.Serial(portname, baudrate, timeout=0.5)
|
||||
|
||||
def close(self):
|
||||
if self.port is not None:
|
||||
|
||||
Reference in New Issue
Block a user