From a5337b5293eaeda34b08307fb088df89c03f18a3 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 19 Jan 2023 13:29:01 +0100 Subject: [PATCH] replace deprecated API --- eive_tmtc/tmtc/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eive_tmtc/tmtc/test.py b/eive_tmtc/tmtc/test.py index 1a7985c..ad292fd 100644 --- a/eive_tmtc/tmtc/test.py +++ b/eive_tmtc/tmtc/test.py @@ -5,7 +5,7 @@ from tmtccmd.config.tmtc import ( TmtcDefinitionWrapper, OpCodeEntry, ) -from tmtccmd.pus.s17_test import pack_service_17_ping_command +from tmtccmd.pus.s17_test import create_service_17_ping_command from tmtccmd.tc import service_provider from tmtccmd.tc.decorator import ServiceProviderParams @@ -42,7 +42,7 @@ def pack_test_command(p: ServiceProviderParams): q = p.queue_helper if info.op_code == OpCodes.PING: q.add_log_cmd("Sending PUS TC [17,1]") - q.add_pus_tc(pack_service_17_ping_command()) + q.add_pus_tc(create_service_17_ping_command()) if info.op_code == OpCodes.TRIGGER_EVENT: q.add_log_cmd("Sending PUS TC Event Trigger [17, 128]") q.add_pus_tc(PusTelecommand(service=PusService.S17_TEST, subservice=128))