From 40aa3a03373bff8cf78e220d06a0c92fcfbe44bf Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 20 Jun 2024 16:04:29 -0700 Subject: [PATCH] Toyota: add another blacklisted FW character --- selfdrive/car/toyota/tests/test_toyota.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selfdrive/car/toyota/tests/test_toyota.py b/selfdrive/car/toyota/tests/test_toyota.py index 0217a0fbc1..75e3ea7037 100644 --- a/selfdrive/car/toyota/tests/test_toyota.py +++ b/selfdrive/car/toyota/tests/test_toyota.py @@ -12,7 +12,8 @@ ECU_NAME = {v: k for k, v in Ecu.schema.enumerants.items()} def check_fw_version(fw_version: bytes) -> bool: - return b'?' not in fw_version + # TODO: just use the FW patterns, need to support all chunks + return b'?' not in fw_version and b'!' not in fw_version class TestToyotaInterfaces: