ソースを参照

Do not perform PID management while autotune is running

Yuri D'Elia 3 年 前
コミット
92418e9d1b
1 ファイル変更2 行追加1 行削除
  1. 2 1
      Firmware/temperature.cpp

+ 2 - 1
Firmware/temperature.cpp

@@ -2187,7 +2187,8 @@ static void temp_mgr_isr()
 #endif
 
     // PID regulation
-    temp_mgr_pid();
+    if (pid_tuning_finished)
+        temp_mgr_pid();
 }
 
 ISR(TIMER5_COMPA_vect)