use new dlog class of verificator
This commit is contained in:
parent
aef9af3096
commit
a72025c79c
2
deps/tmtccmd
vendored
2
deps/tmtccmd
vendored
@ -1 +1 @@
|
|||||||
Subproject commit b02ab670fa16b78fe521fc23255bb43b505fc427
|
Subproject commit 4d974e25263ec6ed1dc136e0623e31c0b03ee83d
|
@ -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"Error Code information for code {tm_packet.error_code.val:#06x} | "
|
||||||
f"Name: {retval_info.name} | Info: {retval_info.info}"
|
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_1_str = (
|
||||||
error_param_2_str = f"Error Parameter 2: hex {fsfw_wrapper.error_param_2:#010x} dec {fsfw_wrapper.error_param_2}"
|
f"Error Parameter 1: hex {fsfw_wrapper.error_param_1:#010x} "
|
||||||
wrapper.console_logger.info(retval_string)
|
f"dec{fsfw_wrapper.error_param_1} "
|
||||||
wrapper.file_logger.info(retval_string)
|
)
|
||||||
wrapper.console_logger.info(error_param_1_str)
|
error_param_2_str = (
|
||||||
wrapper.file_logger.info(error_param_1_str)
|
f"Error Parameter 2: hex {fsfw_wrapper.error_param_2:#010x} "
|
||||||
wrapper.console_logger.info(error_param_2_str)
|
f"dec {fsfw_wrapper.error_param_2}"
|
||||||
wrapper.file_logger.info(error_param_2_str)
|
)
|
||||||
|
wrapper.dlog(retval_string)
|
||||||
|
wrapper.dlog(error_param_1_str)
|
||||||
|
wrapper.dlog(error_param_2_str)
|
||||||
|
Loading…
Reference in New Issue
Block a user