somethings now working

This commit is contained in:
2021-09-08 14:47:33 +02:00
parent 27e5e6c7ae
commit 2f6681e3a0
6 changed files with 14 additions and 4 deletions

View File

@ -12,7 +12,7 @@ class GpsOpCodes(enum.Enum):
RESET_GNSS = "5"
def pack_gps_command(object_id: bytearray, 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 object_id == GPS_HANDLER_0_ID:
tc_queue.appendleft((QueueCommands.PRINT, "Resetting GPS device 0"))