修复一处错误
This commit is contained in:
parent
b1de714ddc
commit
05b5d30a92
@ -104,7 +104,7 @@ def tt_hh(addr, data):
|
|||||||
ccid = data[7 + offs : 11 + offs]
|
ccid = data[7 + offs : 11 + offs]
|
||||||
update_pairs(addr, ccid)
|
update_pairs(addr, ccid)
|
||||||
# 组帧再返回
|
# 组帧再返回
|
||||||
msg = data[:]
|
msg = bytearray(data[:])
|
||||||
msg[12:-1] = val = "%04x" % int(time.time())
|
msg[12:-1] = val = "%04x" % int(time.time())
|
||||||
# 计算校验和
|
# 计算校验和
|
||||||
crc = 0
|
crc = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user