修复一处错误

This commit is contained in:
murmur 2023-03-14 21:21:21 +08:00
parent b1de714ddc
commit 05b5d30a92

View File

@ -104,7 +104,7 @@ def tt_hh(addr, data):
ccid = data[7 + offs : 11 + offs]
update_pairs(addr, ccid)
# 组帧再返回
msg = data[:]
msg = bytearray(data[:])
msg[12:-1] = val = "%04x" % int(time.time())
# 计算校验和
crc = 0