axis_steps_per_unit => axis_steps_per_mm

This commit is contained in:
Scott Lahteine
2016-06-09 16:53:21 -07:00
parent 446515ab79
commit 72c6f2923f
9 changed files with 61 additions and 61 deletions

View File

@ -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