small renaming

This commit is contained in:
Robin Müller 2022-07-28 16:49:19 +02:00
parent 6de31ccd3f
commit 8554ab5742
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -77,7 +77,7 @@ class PusHandler(SpecificApidHandlerBase):
class TcHandler(TcHandlerBase): class TcHandler(TcHandlerBase):
def __init__( def __init__(
self, self,
apid: int, pus_apid: int,
seq_count_provider: FileSeqCountProvider, seq_count_provider: FileSeqCountProvider,
pus_verificator: PusVerificator, pus_verificator: PusVerificator,
file_logger: logging.Logger, file_logger: logging.Logger,
@ -90,7 +90,7 @@ class TcHandler(TcHandlerBase):
self.raw_logger = raw_logger self.raw_logger = raw_logger
self.queue_helper = DefaultPusQueueHelper( self.queue_helper = DefaultPusQueueHelper(
queue_wrapper=None, queue_wrapper=None,
apid=apid, pus_apid=pus_apid,
seq_cnt_provider=seq_count_provider, seq_cnt_provider=seq_count_provider,
pus_verificator=pus_verificator, pus_verificator=pus_verificator,
) )
@ -188,7 +188,7 @@ def setup_tmtc_handlers(
ccsds_handler = CcsdsTmHandler(None) ccsds_handler = CcsdsTmHandler(None)
ccsds_handler.add_apid_handler(pus_handler) ccsds_handler.add_apid_handler(pus_handler)
tc_handler = TcHandler( tc_handler = TcHandler(
apid=EXAMPLE_APID, pus_apid=EXAMPLE_APID,
file_logger=printer.file_logger, file_logger=printer.file_logger,
raw_logger=raw_logger, raw_logger=raw_logger,
pus_verificator=verif_wrapper.pus_verificator, pus_verificator=verif_wrapper.pus_verificator,