Wrap DEFAULT_Ki, DEFAULT_Kd, PID_dT

Addition to #3140
master
Scott Lahteine 9 years ago
parent eb8cf29464
commit 2ef49a9d53

@ -146,8 +146,8 @@ static unsigned char soft_pwm[EXTRUDERS];
#endif // PID_ADD_EXTRUSION_RATE #endif // PID_ADD_EXTRUSION_RATE
#else //PID_PARAMS_PER_EXTRUDER #else //PID_PARAMS_PER_EXTRUDER
float Kp = DEFAULT_Kp; float Kp = DEFAULT_Kp;
float Ki = DEFAULT_Ki * PID_dT; float Ki = (DEFAULT_Ki) * (PID_dT);
float Kd = DEFAULT_Kd / PID_dT; float Kd = (DEFAULT_Kd) / (PID_dT);
#if ENABLED(PID_ADD_EXTRUSION_RATE) #if ENABLED(PID_ADD_EXTRUSION_RATE)
float Kc = DEFAULT_Kc; float Kc = DEFAULT_Kc;
#endif // PID_ADD_EXTRUSION_RATE #endif // PID_ADD_EXTRUSION_RATE

Loading…
Cancel
Save