Skip to content

Commit

Permalink
return type specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed Mar 14, 2022
1 parent 47c69a0 commit 42e9431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tmtccmd/tc/service_3_housekeeping.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ def make_interval(interval_seconds: float) -> bytearray:
return bytearray(struct.pack("!f", interval_seconds))


def generate_one_hk_command(sid: bytearray, ssc: int):
def generate_one_hk_command(sid: bytearray, ssc: int) -> PusTelecommand:
return PusTelecommand(service=3, subservice=27, ssc=ssc, app_data=sid)


def generate_one_diag_command(sid: bytearray, ssc: int):
def generate_one_diag_command(sid: bytearray, ssc: int) -> PusTelecommand:
return PusTelecommand(service=3, subservice=28, ssc=ssc, app_data=sid)

0 comments on commit 42e9431

Please sign in to comment.