Skip to content

Commit

Permalink
Toyota: add another blacklisted FW character
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Jun 20, 2024
1 parent a132a23 commit 40aa3a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion selfdrive/car/toyota/tests/test_toyota.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@


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:
Expand Down

0 comments on commit 40aa3a0

Please sign in to comment.