[update] data length: 20 bytes

This commit is contained in:
Roy
2021-12-22 13:55:20 +08:00
parent 06719b9948
commit 96c0823ce8
3 changed files with 19 additions and 16 deletions
+6 -6
View File
@@ -889,12 +889,12 @@ class I4V4Z4T4DataDecoder(RecDataDecoder):
cycle_number = struct.unpack('>H', data[17:19])[0]
finish_mode_falg = data[19]
# print('decode', list(data[120:]))
mem_wrong = data[120]
mem_retry_cnt = data[121]
mem_green_wrong = data[122]
mem_green_retry_cnt = data[123]
ram_num = data[124]
# print('decode', list(data[20:]))
mem_wrong = data[20]
mem_retry_cnt = data[21]
mem_green_wrong = data[22]
mem_green_retry_cnt = data[23]
ram_num = data[24]
broken_flag = data[-1]
if (finish_mode_falg & 0b11110000 == 0b10100000):