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!

hackerspace-green
daid303 2012-11-09 22:36:31 +01:00
parent ffc69537aa
commit 625ac81acc
1 changed files with 2 additions and 2 deletions

View File

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