瀏覽代碼

Init Kp, Ki, Kd to 0

Scott Lahteine 9 年之前
父節點
當前提交
dbd4c17096
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/temperature.cpp

+ 1
- 1
Marlin/temperature.cpp 查看文件

@@ -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…
取消
儲存