Yes, makes sense, lets NOT use the value directly from the configuration define but modify it before setting it. This will not confuse people (including me) at all!

2.0.x
daid303 12 years ago
parent ffc69537aa
commit 625ac81acc

@ -227,8 +227,8 @@ void Config_ResetDefault()
#endif #endif
#ifdef PIDTEMP #ifdef PIDTEMP
Kp = DEFAULT_Kp; Kp = DEFAULT_Kp;
Ki = DEFAULT_Ki; Ki = (DEFAULT_Ki*PID_dT);
Kd = DEFAULT_Kp; Kd = (DEFAULT_Kp/PID_dT);
#ifdef PID_ADD_EXTRUSION_RATE #ifdef PID_ADD_EXTRUSION_RATE
Kc = DEFAULT_Kc; Kc = DEFAULT_Kc;
#endif//PID_ADD_EXTRUSION_RATE #endif//PID_ADD_EXTRUSION_RATE

Loading…
Cancel
Save