소스 검색

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…
취소
저장