mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-04 20:05:38 +08:00
Toyota: add another blacklisted FW character
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