bugfix MPSoC command

This commit is contained in:
Robin Müller 2023-05-15 14:18:18 +02:00
parent 0276d3dab4
commit 4043e30d34

View File

@ -371,7 +371,7 @@ def prepare_flash_read_cmd(object_id: bytes) -> bytearray:
mpsoc_file = get_mpsoc_file(MPSOC_READ_FILE_DICT)
obc_file = get_obc_file(OBC_READ_FILE_DICT)
cmd = prepare_flash_base_cmd(
mpsoc_file, obc_file, ActionId.TC_FLASH_READ_FULL_FILE, object_id
obc_file, mpsoc_file, ActionId.TC_FLASH_READ_FULL_FILE, object_id
)
file_size = get_mpsoc_file_size()
cmd.extend(struct.pack("!I", file_size))