Skip to content

Commit

Permalink
possible fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed May 23, 2024
1 parent c3c1bd6 commit 899ae5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmtccmd/pus/tm/s200_fsfw_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(self, tm: PusTelemetry) -> None:
self.tm = tm
if len(tm.source_data) < 4:
raise ValueError("service 200 TM can not even hold object ID")
self.object_id = tm.source_data[0:4]
self.object_id = bytes(tm.source_data[0:4])
self.return_value = None
if tm.subservice == Subservice.TM_CANT_REACH_MODE:
self.return_value = struct.unpack("!H", tm.source_data[4:6])[0]
Expand Down

0 comments on commit 899ae5b

Please sign in to comment.