fsfw-example-hosted/tmtc/config/hook.py
Robin Mueller 3a72fad821
Some checks failed
fsfw/fsfw example hosted/pipeline/head There was a failure building this commit
update tmtc
2022-05-20 11:09:13 +02:00

12 lines
434 B
Python

from common_tmtc.config.hook_implementation import CommonFsfwHookBase
from tmtccmd.tc.definitions import TcQueueT
class FsfwHookBase(CommonFsfwHookBase):
def pack_service_queue(self, service: int, op_code: str, service_queue: TcQueueT):
from common_tmtc.pus_tc.tc_packing import common_service_queue_user
common_service_queue_user(
service=service, op_code=op_code, tc_queue=service_queue
)