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;