fixed wrong parameter in measure() function call
This commit is contained in:
1 parent
10fbcb5815
commit
570401489b
1 file changed
+2
-2
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user