mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-23 08:45:48 +08:00
Change MCU version to MCU code
This commit is contained in:
@@ -36,7 +36,7 @@ def getBaudrate(ser, fSize=None, checkModel=None):
|
||||
if 'comok' in r:
|
||||
print 'Connected with baudrate: ' + str(baudrate) + '...'
|
||||
noConnect = False
|
||||
status, unknown1, model, fwversion, mcuversion, serial, flashSize = r.strip("\xff\x00").split(',')
|
||||
status, unknown1, model, fwversion, mcucode, serial, flashSize = r.strip("\xff\x00").split(',')
|
||||
print 'Status: ' + status.split(' ')[0]
|
||||
if status.split(' ')[1] == "1":
|
||||
print 'Touchscreen: yes'
|
||||
@@ -44,7 +44,7 @@ def getBaudrate(ser, fSize=None, checkModel=None):
|
||||
print 'Touchscreen: no'
|
||||
print 'Model: ' + model
|
||||
print 'Firmware version: ' + fwversion
|
||||
print 'MCU version: ' + mcuversion
|
||||
print 'MCU code: ' + mcucode
|
||||
print 'Serial: ' + serial
|
||||
print 'Flash size: ' + flashSize
|
||||
if fSize and fSize > flashSize:
|
||||
|
||||
Reference in New Issue
Block a user