fixed wrong parameter in measure() function call

This commit is contained in:
gab-k committed 2023-10-15 14:46:59 +02:00
1 parent 10fbcb5815
commit 570401489b
1 file changed
+2 -2
+2 -2
View File
@@ -176,7 +176,7 @@ bool pid_control(struct repeating_timer *t){
// Measure BEMF voltage and compute error
pid->measurement = measure(pid->msr_total_iterations,
pid->msr_total_iterations,
pid->msr_delay_in_us,
pid->l_side_arr_cutoff,
pid->r_side_arr_cutoff,
pid->direction);
@@ -334,4 +334,4 @@ void core1_entry() {
time_last_update = get_absolute_time();
}
}
}
}