fix flip
This commit is contained in:
@ -76,8 +76,8 @@ def make_valid_response(
|
||||
for w in crc_words[1:]:
|
||||
crc_val ^= int(w, 16)
|
||||
|
||||
# Replace CRC word
|
||||
hex_str = hex_str[:56] + _flipfour(_int_to_hex4(crc_val))
|
||||
# Replace CRC word (stored in wire order, no flipfour)
|
||||
hex_str = hex_str[:56] + _int_to_hex4(crc_val)
|
||||
return bytes.fromhex(hex_str)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user