From 5cdb7bda835f1e48e750ab4195e891afe08e11ea Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Mon, 12 Jun 2023 23:07:46 -0700 Subject: [PATCH] fix --- selfdrive/car/hyundai/values.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/hyundai/values.py b/selfdrive/car/hyundai/values.py index 49c68fbd26..9126116028 100644 --- a/selfdrive/car/hyundai/values.py +++ b/selfdrive/car/hyundai/values.py @@ -349,7 +349,7 @@ FINGERPRINTS = { } -@functools.cache +@functools.lru_cache(maxsize=None) def parse_platform_code(fw_version: bytes) -> Tuple[Optional[bytes], Optional[bytes]]: match = PLATFORM_CODE_PATTERN.search(fw_version) code, date = None, None