瀏覽代碼

temperature.cpp: Fix typo of MAX_BED_PID to MAX_BED_POWER.

David Forrest 10 年之前
父節點
當前提交
6583bb781d
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/temperature.cpp

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

@@ -566,7 +566,7 @@ void manage_heater()
566 566
 		  temp_dState_bed = pid_input;
567 567
 
568 568
 		  pid_output = pTerm_bed + iTerm_bed - dTerm_bed;
569
-          	  if (pid_output > MAX_BED_PID) {
569
+          	  if (pid_output > MAX_BED_POWER) {
570 570
             	    if (pid_error_bed > 0 )  temp_iState_bed -= pid_error_bed; // conditional un-integration
571 571
                     pid_output=PID_MAX;
572 572
           	  } else if (pid_output < 0){

Loading…
取消
儲存