From 3c042863cec4aa246e0a8990ed5805bed243f9d6 Mon Sep 17 00:00:00 2001 From: AndrewI26 <105824138+AndrewI26@users.noreply.github.com> Date: Mon, 11 Nov 2024 20:55:10 -0500 Subject: [PATCH] fixed typo --- firmware/projects/FrontController/vehicle_control_system | 1 + .../projects/debug/FrontControllerSimple/vehicle_control_system | 1 + scripts/cangen/cangen/can_generator.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 160000 firmware/projects/FrontController/vehicle_control_system create mode 160000 firmware/projects/debug/FrontControllerSimple/vehicle_control_system diff --git a/firmware/projects/FrontController/vehicle_control_system b/firmware/projects/FrontController/vehicle_control_system new file mode 160000 index 000000000..4fddb9369 --- /dev/null +++ b/firmware/projects/FrontController/vehicle_control_system @@ -0,0 +1 @@ +Subproject commit 4fddb9369730a8cee4e74f83d71d3b1e33b8d5ea diff --git a/firmware/projects/debug/FrontControllerSimple/vehicle_control_system b/firmware/projects/debug/FrontControllerSimple/vehicle_control_system new file mode 160000 index 000000000..a04e3a93f --- /dev/null +++ b/firmware/projects/debug/FrontControllerSimple/vehicle_control_system @@ -0,0 +1 @@ +Subproject commit a04e3a93f0def3d748ca7c636cb0f226328c0a10 diff --git a/scripts/cangen/cangen/can_generator.py b/scripts/cangen/cangen/can_generator.py index 1530ec70d..a84e36f07 100644 --- a/scripts/cangen/cangen/can_generator.py +++ b/scripts/cangen/cangen/can_generator.py @@ -170,7 +170,7 @@ def _camel_to_snake(text): def _create_output_file_name(output_dir: str, bus_name: str, template_file_name: str) -> str: return os.path.join( - output_dir, bus_name.lower() + "_" + template_file_name.removesuffix(".jninja2") + output_dir, bus_name.lower() + "_" + template_file_name.removesuffix(".jinja2") ) def _generate_code(bus: Bus, output_dir: str):