mode printout

This commit is contained in:
Robin Müller 2022-10-11 22:42:10 +02:00
parent 2ab3a5cdc4
commit ab1947ed86
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ def handle_event_packet(raw_tm: bytes, printer: FsfwTmTcPrinter):
reason = generic_retval_printout(tm.param_1)
for string in reason:
pw.dlog(f"Reason from event parameter 1: {string}")
pw.dlog(f"Mode, sequence or table: {tm.param_2:#08x}")
if info.name == "SUPV_UPDATE_PROGRESS" or info.name == "WRITE_MEMORY_FAILED":
additional_event_info = f"Additional info: {info.info}"
context = (