修正生成代码包长的检查上限

This commit is contained in:
2025-07-03 14:45:05 +08:00
parent 708c396d09
commit 8569472a2a

View File

@@ -51,7 +51,7 @@ class GenPkt(object):
else:
pkt_len = pkt_len + sp[5] + 8
if pkt_len > 2048:
if pkt_len > 2044:
print('Error, bad pkt_len:', pkt_len)
return