parent
cc33387543
commit
806f2d0dca
@ -55,7 +55,7 @@ if osname == 'android':
|
|||||||
import pip
|
import pip
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
pip.main(['install', 'pyjnius-u4-qpython'])
|
#pip.main(['install', 'pyjnius-u4-qpython'])
|
||||||
|
|
||||||
if jnius_mode:
|
if jnius_mode:
|
||||||
try:
|
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:
|
if len(hexval)%2:
|
||||||
hexval = '0'+hexval
|
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
|
#revert byte order if little endian
|
||||||
if littleEndian:
|
if littleEndian:
|
||||||
a = hexval
|
a = hexval
|
||||||
@ -855,6 +861,8 @@ class DDTECU():
|
|||||||
break
|
break
|
||||||
|
|
||||||
if rcmd == '':
|
if rcmd == '':
|
||||||
|
#debug
|
||||||
|
print res, d, self.req4data.keys ()
|
||||||
return 'ERROR'
|
return 'ERROR'
|
||||||
|
|
||||||
if self.datas[d].BytesASCII:
|
if self.datas[d].BytesASCII:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user