Skip to content

Commit

Permalink
call fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed May 17, 2022
1 parent f3b6150 commit b08fed4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/tmtccmd/ccsds/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ def __init__(self):
def add_tm_handler(self, apid: int, handler: ApidHandler):
"""Add a TM handler for a certain APID. The handler is a callback function which
will be called if telemetry with that APID arrives
:param apid: CCSDS Application Process ID
:param pus_tm_handler: Callback function
:param max_queue_len:
:param apid: CCSDS Application Process ID
:param handler: Handler class instance
:return:
"""
self._handler_dict[apid] = handler
Expand All @@ -51,7 +50,7 @@ def handle_packet_queues(self, packet_queue_list: QueueListT):
handler_obj = self._handler_dict.get(apid)
if handler_obj is not None:
self.handle_ccsds_packet_queue(
queue=queue_tuple[1], apid=apid, handler=handler_obj
tm_queue=queue_tuple[1], apid=apid, handler=handler_obj
)

def handle_ccsds_packet_queue(
Expand Down

0 comments on commit b08fed4

Please sign in to comment.