ソースを参照

Merge pull request #1285 from drf5n/PID_CI_v2

temperature.cpp: Fix typo of MAX_BED_PID to MAX_BED_POWER.
alexborro 9年前
コミット
80b17ab573
1個のファイルの変更2行の追加2行の削除
  1. 2
    2
      Marlin/temperature.cpp

+ 2
- 2
Marlin/temperature.cpp ファイルの表示

@@ -582,9 +582,9 @@ void manage_heater()
582 582
 		  temp_dState_bed = pid_input;
583 583
 
584 584
 		  pid_output = pTerm_bed + iTerm_bed - dTerm_bed;
585
-          	  if (pid_output > MAX_BED_PID) {
585
+          	  if (pid_output > MAX_BED_POWER) {
586 586
             	    if (pid_error_bed > 0 )  temp_iState_bed -= pid_error_bed; // conditional un-integration
587
-                    pid_output=PID_MAX;
587
+                    pid_output=PID_BED_POWER;
588 588
           	  } else if (pid_output < 0){
589 589
             	    if (pid_error_bed < 0 )  temp_iState_bed -= pid_error_bed; // conditional un-integration
590 590
                     pid_output=0;

読み込み中…
キャンセル
保存