Browse Source

tools goodfet: directly access baudrate member

pr/gpio
Oleg Hahm 7 years ago
parent
commit
a14657ef85
  1. 2
      dist/tools/goodfet/goodfet.bsl

2
dist/tools/goodfet/goodfet.bsl vendored

@ -1307,7 +1307,7 @@ goodfet.bsl -e -p foo.hex
self.bslTxRx(self.BSL_CHANGEBAUD, #Command: change baudrate
a, l) #args are coded in adr and len
time.sleep(0.010) #recomended delay
self.serialport.setBaudrate(baudrate)
self.serialport.baudrate = baudrate
def actionReadBSLVersion(self):
"""informational output of BSL version number.

Loading…
Cancel
Save