From 28d97a421d618aabdb3e3b8c97ab1ae0019b6ce7 Mon Sep 17 00:00:00 2001 From: Benjamin Vedder Date: Fri, 20 Mar 2020 21:55:01 +0100 Subject: [PATCH] Updated changelog --- CHANGELOG | 1 + mc_interface.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index e0f757b3..05c5e342 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -10,6 +10,7 @@ * Added COMM_SET_BATTERY_CUT command. * Added CAN_PACKET_SHUTDOWN CAN-command. * GPDRIVE output sample fix. +* Some ISR optimization. === FW 4.02 === * Position PID fix (most notable on multiturn encoders). diff --git a/mc_interface.c b/mc_interface.c index 1d0234a8..3250b126 100644 --- a/mc_interface.c +++ b/mc_interface.c @@ -1584,8 +1584,8 @@ void mc_interface_mc_timer_isr(bool is_second_motor) { wrong_voltage_iterations = 0; } - // Fetch these values here in a config-specific code to avoid some overheat of the general - // function. That will make this interrupt run a bit faster. + // Fetch these values in a config-specific way to avoid some overhead of the general + // functions. That will make this interrupt run a bit faster. mc_state state; float current; float current_in;