axis_steps_per_unit => axis_steps_per_mm
This commit is contained in:
parent
446515ab79
commit
72c6f2923f
9 changed files with 61 additions and 61 deletions
|
|
@ -556,7 +556,7 @@ float Temperature::get_pid_output(int e) {
|
|||
lpq[lpq_ptr++] = 0;
|
||||
}
|
||||
if (lpq_ptr >= lpq_len) lpq_ptr = 0;
|
||||
cTerm[_CTERM_INDEX] = (lpq[lpq_ptr] / planner.axis_steps_per_unit[E_AXIS]) * PID_PARAM(Kc, e);
|
||||
cTerm[_CTERM_INDEX] = (lpq[lpq_ptr] / planner.axis_steps_per_mm[E_AXIS]) * PID_PARAM(Kc, e);
|
||||
pid_output += cTerm[e];
|
||||
}
|
||||
#endif //PID_ADD_EXTRUSION_RATE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue