Skip to content
Snippets Groups Projects
Commit a1ab84e5 authored by Julian Oes's avatar Julian Oes Committed by Lorenz Meier
Browse files

px_uploader: make rev check a bit more intuitive

parent 6d00de7b
No related branches found
No related tags found
No related merge requests found
......@@ -494,7 +494,7 @@ class uploader(object):
raise RuntimeError("Firmware image is too large for this board")
# OTP added in v4:
if self.bl_rev > 3:
if self.bl_rev >= 4:
for byte in range(0, 32*6, 4):
x = self.__getOTP(byte)
self.otp = self.otp + x
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment