mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Increase serial timeout
This commit is contained in:
parent
be82b952c3
commit
5c0e6b8710
@ -226,7 +226,7 @@ class OMVGtk:
|
||||
def connect(self):
|
||||
try:
|
||||
# open VCP and configure the terminal
|
||||
self.serial = serial.Serial(self.config.get("main", "serial_port"), self.baudrate, timeout=0.1)
|
||||
self.serial = serial.Serial(self.config.get("main", "serial_port"), self.baudrate, timeout=0.3)
|
||||
gobject.gobject.timeout_add(10, omvgtk.update_terminal)
|
||||
except Exception as e:
|
||||
# create fresh config if needed
|
||||
|
||||
Loading…
Reference in New Issue
Block a user