mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Modify warning text (#2066)
This commit is contained in:
parent
b473930f94
commit
cb9fee8f08
@ -92,7 +92,7 @@ for i in range(0, len(spi_image), 4):
|
|||||||
val = int.from_bytes(snippet, byteorder='little')
|
val = int.from_bytes(snippet, byteorder='little')
|
||||||
checksum += val
|
checksum += val
|
||||||
if (val >= external_apps_address_start) and (val < external_apps_address_end) and ((val & 0xFFFF) < maximum_application_size):
|
if (val >= external_apps_address_start) and (val < external_apps_address_end) and ((val & 0xFFFF) < maximum_application_size):
|
||||||
print ("WARNING: External code address", hex(val), "at offset", hex(i), "in", sys.argv[3])
|
print ("WARNING: Possible external code address", hex(val), "at offset", hex(i), "in", sys.argv[3])
|
||||||
|
|
||||||
final_checksum = 0
|
final_checksum = 0
|
||||||
checksum = (final_checksum - checksum) & 0xFFFFFFFF
|
checksum = (final_checksum - checksum) & 0xFFFFFFFF
|
||||||
|
Loading…
Reference in New Issue
Block a user