parent
cc33387543
commit
806f2d0dca
@ -55,7 +55,7 @@ if osname == 'android':
|
||||
import pip
|
||||
except ImportError:
|
||||
pass
|
||||
pip.main(['install', 'pyjnius-u4-qpython'])
|
||||
#pip.main(['install', 'pyjnius-u4-qpython'])
|
||||
|
||||
if jnius_mode:
|
||||
try:
|
||||
|
0
pyren/CHANGE_LOG.txt
Normal file → Executable file
0
pyren/CHANGE_LOG.txt
Normal file → Executable file
0
pyren/README.md
Normal file → Executable file
0
pyren/README.md
Normal file → Executable file
0
pyren/macro/init.txt
Normal file → Executable file
0
pyren/macro/init.txt
Normal file → Executable file
@ -731,6 +731,12 @@ class DDTECU():
|
||||
if len(hexval)%2:
|
||||
hexval = '0'+hexval
|
||||
|
||||
#check bytescount
|
||||
if len(hexval)/2 < d.BytesCount:
|
||||
hexval = '00'*(d.BytesCount-len(hexval)/2) + hexval
|
||||
#debug
|
||||
#print '#', d.BytesCount, ':', hexval
|
||||
|
||||
#revert byte order if little endian
|
||||
if littleEndian:
|
||||
a = hexval
|
||||
@ -855,6 +861,8 @@ class DDTECU():
|
||||
break
|
||||
|
||||
if rcmd == '':
|
||||
#debug
|
||||
print res, d, self.req4data.keys ()
|
||||
return 'ERROR'
|
||||
|
||||
if self.datas[d].BytesASCII:
|
||||
|
Loading…
x
Reference in New Issue
Block a user