commit
171f02a75a
@ -1162,8 +1162,9 @@ class BootStrapLoader(LowLevel):
|
||||
sys.stderr.flush()
|
||||
self.bslTxRx(self.BSL_CHANGEBAUD, #Command: change baudrate
|
||||
a, l) #args are coded in adr and len
|
||||
self.serialport.flush()
|
||||
time.sleep(0.010) #recomended delay
|
||||
self.serialport.setBaudrate(baudrate)
|
||||
self.serialport.baudrate = baudrate
|
||||
|
||||
def actionReadBSLVersion(self):
|
||||
"""informational output of BSL version number.
|
||||
|
@ -1350,8 +1350,9 @@ class BootStrapLoader(LowLevel):
|
||||
sys.stderr.flush()
|
||||
self.bslTxRx(self.BSL_CHANGEBAUD, #Command: change baudrate
|
||||
a, l) #args are coded in adr and len
|
||||
self.serialport.flush()
|
||||
time.sleep(0.010) #recomended delay
|
||||
self.serialport.setBaudrate(baudrate)
|
||||
self.serialport.baudrate = baudrate
|
||||
|
||||
def actionReadBSLVersion(self):
|
||||
"""informational output of BSL version number.
|
||||
|
@ -1364,8 +1364,9 @@ class BootStrapLoader(LowLevel):
|
||||
sys.stderr.flush()
|
||||
self.bslTxRx(self.BSL_CHANGEBAUD, #Command: change baudrate
|
||||
a, l) #args are coded in adr and len
|
||||
self.serialport.flush()
|
||||
time.sleep(0.010) #recomended delay
|
||||
self.serialport.setBaudrate(baudrate)
|
||||
self.serialport.baudrate = baudrate
|
||||
|
||||
def actionReadBSLVersion(self):
|
||||
"""informational output of BSL version number.
|
||||
|
Loading…
Reference in New Issue
Block a user