From 5cd26fb147b0793d1593be299e71b81014b2d61f Mon Sep 17 00:00:00 2001 From: Comerm28 Date: Wed, 25 Sep 2024 13:36:37 -0400 Subject: [PATCH] build on teensy works --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 8e782a40..0f7c2e60 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -483,7 +483,7 @@ void loop() Serial.print("Current TC index: "); Serial.println(static_cast(torque_controller_mux.get_tc_mux_status().active_controller_mode)); Serial.print("Current TC error: "); - Serial.println(static_cast(torque_controller_mux.get_tc_mux_status().current_error)); + Serial.println(static_cast(torque_controller_mux.get_tc_mux_status().active_error)); Serial.println(); Serial.println(); } @@ -566,7 +566,7 @@ void tick_all_interfaces(const SysTick_s ¤t_system_tick) a1.get().conversions[MCU15_BRAKE1_CHANNEL], a1.get().conversions[MCU15_BRAKE2_CHANNEL], pedals_system.getMechBrakeActiveThreshold(), - torque_controller_mux.get_tc_mux_status().current_error); + torque_controller_mux.get_tc_mux_status().active_error); } if (t.trigger50) // 50Hz