small fix
This commit is contained in:
parent
edb71ad90b
commit
b3f0c08bd7
@ -433,7 +433,7 @@ def pack_ploc_supv_commands(p: ServiceProviderParams):
|
|||||||
custom_data = bytearray()
|
custom_data = bytearray()
|
||||||
memory_id = int(input("Specify memory ID: "))
|
memory_id = int(input("Specify memory ID: "))
|
||||||
start_address = int(input("Specify start address: 0x"), 16)
|
start_address = int(input("Specify start address: 0x"), 16)
|
||||||
check_size = int(input("Specify check size: 0x"))
|
check_size = int(input("Specify check size: "))
|
||||||
custom_data.extend(struct.pack("!B", memory_id))
|
custom_data.extend(struct.pack("!B", memory_id))
|
||||||
custom_data.extend(struct.pack("!I", start_address))
|
custom_data.extend(struct.pack("!I", start_address))
|
||||||
custom_data.extend(struct.pack("!I", check_size))
|
custom_data.extend(struct.pack("!I", check_size))
|
||||||
|
Loading…
Reference in New Issue
Block a user