mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Increase serial timeout after connecting.
This commit is contained in:
parent
5069a71e10
commit
cb211024c9
@ -306,7 +306,7 @@ class OMVGtk:
|
|||||||
return
|
return
|
||||||
|
|
||||||
# Set higher timeout after connecting for lengthy transfers.
|
# Set higher timeout after connecting for lengthy transfers.
|
||||||
openmv.set_timeout(0.3)
|
openmv.set_timeout(2)
|
||||||
|
|
||||||
# add terminal update callback
|
# add terminal update callback
|
||||||
gobject.gobject.timeout_add(30, omvgtk.update_terminal)
|
gobject.gobject.timeout_add(30, omvgtk.update_terminal)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user