forked from Archive/PX4-Autopilot
px_uploader: make rev check a bit more intuitive
This commit is contained in:
parent
6d00de7b25
commit
a1ab84e5b9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue