axis_steps_per_unit => axis_steps_per_mm
This commit is contained in:
1 parent
446515ab79
commit
72c6f2923f
9 files changed
+61
-61
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user