From 0e4f960018828c37c3a536b436d707d4a99afdc1 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Fri, 14 Jun 2019 17:04:19 +0200 Subject: Correct binary counter specifier Makes the 64bit OTP tests passing on the Pro v0.8+ (instead of being skipped). Signed-off-by: Szczepan Zalega --- unittest/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittest') diff --git a/unittest/misc.py b/unittest/misc.py index c1c197b..e9e1753 100644 --- a/unittest/misc.py +++ b/unittest/misc.py @@ -71,4 +71,4 @@ def is_long_OTP_secret_handled(C): def has_binary_counter(C): - return is_pro_rtm_07(C) or is_storage(C) and get_devices_firmware_version(C) >= 54 + return (not is_storage(C)) or (is_storage(C) and get_devices_firmware_version(C) >= 54) -- cgit v1.2.3