aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unittest/misc.py2
1 files changed, 1 insertions, 1 deletions
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)