From 783bdd297a931a96c8b077ec2c2456a203b23ffc Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 25 Sep 2023 17:41:45 +0200 Subject: [PATCH] do not use deprecated API --- tmtcc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmtcc.py b/tmtcc.py index bdc976b..ea2afa4 100755 --- a/tmtcc.py +++ b/tmtcc.py @@ -249,7 +249,7 @@ def main(): # noqa C901: Complexity okay here. try: while True: state = tmtc_backend.periodic_op(None) - tc_handler.cfdp_in_ccsds_handler.fsm() + tc_handler.cfdp_in_ccsds_handler.state_machine() if state.request == BackendRequest.TERMINATION_NO_ERROR: sys.exit(0) elif state.request == BackendRequest.DELAY_IDLE: