Merge pull request 'enum for str submodes, added default submode and renamed submode for ccsds handler class' (#177) from kranz_str_enum into main

Reviewed-on: #177
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
This commit is contained in:
Robin Müller 2023-03-27 11:33:06 +02:00
commit 333faaa5f7
2 changed files with 3 additions and 2 deletions

View File

@ -175,7 +175,8 @@ class PartitionSize:
STAR_TRACKER_FIRMWARE = 464572
class Submode:
class Submode(enum.IntEnum):
DEFAULT = 0
BOOTLOADER = 1
FIRMWARE = 2

View File

@ -45,7 +45,7 @@ class ActionId(enum.IntEnum):
class Submode(enum.IntEnum):
# Informative, do not command this.
UNSET = 0
OFF = 0
DATARATE_LOW = 1
DATARATE_HIGH = 2