remove aligned formatting of assignments

This commit is contained in:
Samuel Sadok
2020-05-20 12:27:28 +02:00
parent 3d710a5385
commit 3d07325022
10 changed files with 60 additions and 60 deletions
+2 -2
View File
@@ -165,8 +165,8 @@ bool Controller::update(float* current_setpoint_output) {
} break;
case INPUT_MODE_CURRENT_RAMP: {
float max_step_size = std::abs(current_meas_period * config_.current_ramp_rate);
float full_step = input_current_ - current_setpoint_;
float step = std::clamp(full_step, -max_step_size, max_step_size);
float full_step = input_current_ - current_setpoint_;
float step = std::clamp(full_step, -max_step_size, max_step_size);
current_setpoint_ += step;
} break;