enum for str submodes and added default submode

This commit is contained in:
Markus Kranz 2023-03-27 10:30:13 +02:00
parent f6fcb2fb28
commit 40b2973d9e

View File

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