consistency change for enum names
This commit is contained in:
@ -16,7 +16,7 @@ from tmtccmd.tc import DefaultPusQueueHelper
|
||||
from tmtccmd.util import ObjectIdU32
|
||||
|
||||
|
||||
class ActionIds:
|
||||
class ActionId:
|
||||
DUMP_MRAM = 1
|
||||
|
||||
|
||||
@ -43,7 +43,7 @@ def pack_ploc_memory_dumper_cmd(
|
||||
def pack_mram_dump_cmd(object_id: bytes) -> bytearray:
|
||||
start = int(input("Start address: 0x"), 16)
|
||||
end = int(input("End address: 0x"), 16)
|
||||
command = object_id + struct.pack("!I", ActionIds.DUMP_MRAM)
|
||||
command = object_id + struct.pack("!I", ActionId.DUMP_MRAM)
|
||||
command = command + struct.pack("!I", start)
|
||||
command = command + struct.pack("!I", end)
|
||||
return bytearray(command)
|
||||
|
Reference in New Issue
Block a user