Updated changelog

This commit is contained in:
Benjamin Vedder 2020-03-20 21:55:01 +01:00
parent 68163a88b6
commit 28d97a421d
2 changed files with 3 additions and 2 deletions

View File

@ -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).

View File

@ -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;