From 94e7272746a5bd1d9f4902d81d9d8d4755e29432 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Sun, 10 Sep 2023 20:59:29 -0700 Subject: [PATCH] some clean up from merge 2 --- selfdrive/car/toyota/values.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/toyota/values.py b/selfdrive/car/toyota/values.py index 7a6dcbb6c1..91f528670b 100644 --- a/selfdrive/car/toyota/values.py +++ b/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.