Browse Source

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!

daid303 12 years ago
parent
commit
625ac81acc
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/ConfigurationStore.cpp

+ 2
- 2
Marlin/ConfigurationStore.cpp View File

@@ -227,8 +227,8 @@ void Config_ResetDefault()
227 227
 #endif
228 228
 #ifdef PIDTEMP
229 229
     Kp = DEFAULT_Kp;
230
-    Ki = DEFAULT_Ki;
231
-    Kd = DEFAULT_Kp;
230
+    Ki = (DEFAULT_Ki*PID_dT);
231
+    Kd = (DEFAULT_Kp/PID_dT);
232 232
 #ifdef PID_ADD_EXTRUSION_RATE
233 233
     Kc = DEFAULT_Kc;
234 234
 #endif//PID_ADD_EXTRUSION_RATE

Loading…
Cancel
Save