Skip to content

Commit

Permalink
Kc is also a multi-PID parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Wackerbarth committed Nov 23, 2015
1 parent 8cea79a commit 956418c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/temperature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ float get_pid_output(int e) {
lpq[lpq_ptr++] = 0;
}
if (lpq_ptr >= lpq_len) lpq_ptr = 0;
cTerm[e] = (lpq[lpq_ptr] / axis_steps_per_unit[E_AXIS]) * Kc;
cTerm[e] = (lpq[lpq_ptr] / axis_steps_per_unit[E_AXIS]) * PID_PARAM(Kc, e);
pid_output += cTerm[e];
}
#endif //PID_ADD_EXTRUSION_RATE
Expand Down

0 comments on commit 956418c

Please sign in to comment.