1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 22:05:17 +03:00

Merge pull request #10269 from haslinghuis/fix-dfu-pack

Fix dfuse and python check
This commit is contained in:
Michael Keller 2020-10-18 19:26:27 +13:00 committed by GitHub
commit 785969031d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)})