mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-01-31 04:34:16 +01:00
Add info about touchscreen support
This commit is contained in:
parent
3aac82a23d
commit
81708858f8
|
|
@ -37,7 +37,11 @@ def getBaudrate(ser, fSize=None, checkModel=None):
|
|||
print 'Connected with baudrate: ' + str(baudrate) + '...'
|
||||
noConnect = False
|
||||
status, unknown1, model, unknown2, version, serial, flashSize = r.strip("\xff\x00").split(',')
|
||||
print 'Status: ' + status
|
||||
print 'Status: ' + status.split(' ')[0]
|
||||
if (status.split(' ')[1] == "1"):
|
||||
print 'Touchscreen: yes'
|
||||
else:
|
||||
print 'Touchscreen: no'
|
||||
print 'Model: ' + model
|
||||
print 'Version: ' + version
|
||||
print 'Serial: ' + serial
|
||||
|
|
|
|||
Loading…
Reference in a new issue