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:
commit
333faaa5f7
@ -175,7 +175,8 @@ class PartitionSize:
|
||||
STAR_TRACKER_FIRMWARE = 464572
|
||||
|
||||
|
||||
class Submode:
|
||||
class Submode(enum.IntEnum):
|
||||
DEFAULT = 0
|
||||
BOOTLOADER = 1
|
||||
FIRMWARE = 2
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user