Browse Source

Init Kp, Ki, Kd to 0

Scott Lahteine 9 years ago
parent
commit
dbd4c17096
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/temperature.cpp

+ 1
- 1
Marlin/temperature.cpp View File

@@ -209,7 +209,7 @@ void PID_autotune(float temp, int extruder, int ncycles) {
209 209
 
210 210
   long bias, d;
211 211
   float Ku, Tu;
212
-  float Kp, Ki, Kd;
212
+  float Kp = 0, Ki = 0, Kd = 0;
213 213
   float max = 0, min = 10000;
214 214
 
215 215
   #if HAS_AUTO_FAN

Loading…
Cancel
Save