1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 20:35:33 +03:00

Fix dfuse and python check

This commit is contained in:
Mark Haslinghuis 2020-10-12 02:23:59 +02:00
parent 5d8c1d274f
commit 8ab0a002d1
4 changed files with 39 additions and 79 deletions

View file

@ -135,7 +135,7 @@ if __name__=="__main__":
try:
address = address & 0xFFFFFFFF
except ValueError:
print "Address %s invalid." % address
print("Address %s invalid." % address)
sys.exit(1)
target.append({ 'address': address, 'data': ih.tobinstr(start=address, end=end-1)})