Toyota: add another blacklisted FW character

old-commit-hash: 40aa3a03373bff8cf78e220d06a0c92fcfbe44bf
This commit is contained in:
Shane Smiskol
2024-06-20 16:04:29 -07:00
parent e9b6d542e9
commit 12ec220949

View File

@@ -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: