added set id for gnss hk

This commit is contained in:
Markus Kranz 2022-05-25 12:06:17 +02:00
parent 55a6e98850
commit 1841dbd35d

View File

@ -12,6 +12,10 @@ class GpsOpCodes(enum.Enum):
RESET_GNSS = "5" RESET_GNSS = "5"
class SetIds:
HK = 0
def pack_gps_command(object_id: bytes, tc_queue: TcQueueT, op_code: str): def pack_gps_command(object_id: bytes, tc_queue: TcQueueT, op_code: str):
if op_code == GpsOpCodes.RESET_GNSS.value: if op_code == GpsOpCodes.RESET_GNSS.value:
if object_id == GPS_HANDLER_0_ID: if object_id == GPS_HANDLER_0_ID: