From 309f5a4fec895deecc9cb05f5015dba8cc079815 Mon Sep 17 00:00:00 2001 From: ugtthis <142481257+ugtthis@users.noreply.github.com> Date: Mon, 30 Dec 2024 11:37:07 -0800 Subject: [PATCH] docs: remove unused code (#1606) rm code --- opendbc/car/docs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opendbc/car/docs.py b/opendbc/car/docs.py index 00428f5c81..5287fa1c2a 100755 --- a/opendbc/car/docs.py +++ b/opendbc/car/docs.py @@ -41,7 +41,7 @@ def get_all_footnotes() -> dict[Enum, int]: return {fn: idx + 1 for idx, fn in enumerate(all_footnotes)} -def build_sorted_car_docs_list(platforms, footnotes=None, include_dashcam=False, include_custom=False): +def build_sorted_car_docs_list(platforms, footnotes=None, include_dashcam=False): collected_car_docs: list[CarDocs | ExtraCarDocs] = [] for model, platform in platforms.items(): car_docs = platform.config.car_docs @@ -70,7 +70,7 @@ def get_all_car_docs() -> list[CarDocs]: def get_car_docs_with_extras() -> list[CarDocs | ExtraCarDocs]: - sorted_list: list[CarDocs] = build_sorted_car_docs_list(EXTRA_PLATFORMS, include_custom=True, include_dashcam=True) + sorted_list: list[CarDocs] = build_sorted_car_docs_list(EXTRA_PLATFORMS, include_dashcam=True) return sorted_list