From 956418c6748f56291447c6ddbb90a8c2ba2c017c Mon Sep 17 00:00:00 2001 From: Richard Wackerbarth Date: Mon, 23 Nov 2015 06:08:01 -0600 Subject: [PATCH] Kc is also a multi-PID parameter --- Marlin/temperature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp index 3a8c6a8b5..99cd2afd4 100644 --- a/Marlin/temperature.cpp +++ b/Marlin/temperature.cpp @@ -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