some clean up from merge 2

pull/28641/head
Shane Smiskol 2 years ago
parent 36e519debd
commit 94e7272746
  1. 4
      selfdrive/car/toyota/values.py

@ -236,8 +236,8 @@ STATIC_DSU_MSGS = [
]
def get_platform_codes(fw_versions: List[bytes]) -> Set[Tuple[bytes, Optional[bytes]]]:
codes = set() # TODO: standardize (code-Optional[part], date)
def get_platform_codes(fw_versions: List[bytes]) -> Set[Tuple[bytes, bytes]]:
codes = set() # (Optional[part]-platform-major_version, minor_version)
for fw in fw_versions:
# FW versions returned from UDS queries can return multiple fields/chunks of data (different ECU calibrations, different data?)
# and are prefixed with a byte that describes how many chunks of data there are.

Loading…
Cancel
Save