From a1ab84e5b92c0e3eb5619454a9b2ceb5e4a7a2cd Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Sat, 3 Feb 2018 12:10:27 +0100 Subject: [PATCH] px_uploader: make rev check a bit more intuitive --- Tools/px_uploader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/px_uploader.py b/Tools/px_uploader.py index 4689f535e0..dcc531e55b 100755 --- a/Tools/px_uploader.py +++ b/Tools/px_uploader.py @@ -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