From c7f1291aace7c482f87ed1f092543dd6de11df87 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Fri, 2 Jun 2023 21:00:52 -0700 Subject: [PATCH] comment --- selfdrive/car/hyundai/tests/test_hyundai.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/selfdrive/car/hyundai/tests/test_hyundai.py b/selfdrive/car/hyundai/tests/test_hyundai.py index cbfa463e73..c0fbde6e9b 100755 --- a/selfdrive/car/hyundai/tests/test_hyundai.py +++ b/selfdrive/car/hyundai/tests/test_hyundai.py @@ -95,6 +95,8 @@ class TestHyundaiFingerprint(unittest.TestCase): platform_code = list(FW_QUERY_CONFIG.fuzzy_get_platform_codes([f]))[0] shared_codes.append(len(all_platform_codes[(addr[1], addr[2], platform_code)]) > 1) + # If all the platform codes for this platform are shared with another platform, + # we cannot fuzzy fingerprint this platform if all(shared_codes): platforms_with_shared_codes.append(platform)