use new dlog class of verificator

This commit is contained in:
Robin Müller 2022-08-18 16:25:20 +02:00
parent aef9af3096
commit a72025c79c
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
2 changed files with 12 additions and 9 deletions

2
deps/tmtccmd vendored

@ -1 +1 @@
Subproject commit b02ab670fa16b78fe521fc23255bb43b505fc427
Subproject commit 4d974e25263ec6ed1dc136e0623e31c0b03ee83d

View File

@ -39,11 +39,14 @@ def handle_service_1_fsfw_packet(wrapper: VerificationWrapper, raw_tm: bytes):
f"Error Code information for code {tm_packet.error_code.val:#06x} | "
f"Name: {retval_info.name} | Info: {retval_info.info}"
)
error_param_1_str = f"Error Parameter 1: hex {fsfw_wrapper.error_param_1:#010x} dec{fsfw_wrapper.error_param_1} "
error_param_2_str = f"Error Parameter 2: hex {fsfw_wrapper.error_param_2:#010x} dec {fsfw_wrapper.error_param_2}"
wrapper.console_logger.info(retval_string)
wrapper.file_logger.info(retval_string)
wrapper.console_logger.info(error_param_1_str)
wrapper.file_logger.info(error_param_1_str)
wrapper.console_logger.info(error_param_2_str)
wrapper.file_logger.info(error_param_2_str)
error_param_1_str = (
f"Error Parameter 1: hex {fsfw_wrapper.error_param_1:#010x} "
f"dec{fsfw_wrapper.error_param_1} "
)
error_param_2_str = (
f"Error Parameter 2: hex {fsfw_wrapper.error_param_2:#010x} "
f"dec {fsfw_wrapper.error_param_2}"
)
wrapper.dlog(retval_string)
wrapper.dlog(error_param_1_str)
wrapper.dlog(error_param_2_str)