Toyota: add another blacklisted FW character
old-commit-hash: 40aa3a03373bff8cf78e220d06a0c92fcfbe44bf
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user