From d6445d38a8eb644a5e1bd27f0fc56d29e93c030d Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 6 Feb 2023 20:22:36 +0100 Subject: [PATCH] small tweak --- eive_tmtc/tmtc/payload/subsystem.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/eive_tmtc/tmtc/payload/subsystem.py b/eive_tmtc/tmtc/payload/subsystem.py index 695a762..14eaa75 100644 --- a/eive_tmtc/tmtc/payload/subsystem.py +++ b/eive_tmtc/tmtc/payload/subsystem.py @@ -26,17 +26,13 @@ class OpCode(str, enum.Enum): REPORT_ALL_MODES = "report_modes" -class PayloadMode(enum.IntEnum): - OFF = 0 - - class Info(str, enum.Enum): OFF = "Off Command" REPORT_ALL_MODES = "Report all modes" HANDLER_LIST: Dict[str, Tuple[int, str]] = { - OpCode.OFF: (PayloadMode.OFF, Info.OFF), + OpCode.OFF: (ModeId.OFF, Info.OFF), }