small fix

This commit is contained in:
Robin Müller 2022-08-22 12:07:35 +02:00
parent edb71ad90b
commit b3f0c08bd7
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
1 changed files with 1 additions and 1 deletions

View File

@ -433,7 +433,7 @@ def pack_ploc_supv_commands(p: ServiceProviderParams):
custom_data = bytearray()
memory_id = int(input("Specify memory ID: "))
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("!I", start_address))
custom_data.extend(struct.pack("!I", check_size))