fix high boudrate exception
This commit is contained in:
parent
b38a668019
commit
10d63ec2cc
@ -404,8 +404,12 @@ class Port:
|
||||
print("\r\t\t\t\t\rChecking port speed:", s, end=' ')
|
||||
sys.stdout.flush ()
|
||||
|
||||
self.hdr.baudrate = s
|
||||
self.hdr.flushInput ()
|
||||
try:
|
||||
self.hdr.baudrate = s
|
||||
self.hdr.flushInput ()
|
||||
except:
|
||||
continue
|
||||
|
||||
self.write ("\r")
|
||||
|
||||
# search > string
|
||||
|
Loading…
x
Reference in New Issue
Block a user