Browse Source

Fix typo, PID_BED_POWER -> MAX_BED_POWER

Alexander Hirzel 9 years ago
parent
commit
ecda6cdc0a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/temperature.cpp

+ 1
- 1
Marlin/temperature.cpp View File

@@ -584,7 +584,7 @@ void manage_heater()
584 584
 		  pid_output = pTerm_bed + iTerm_bed - dTerm_bed;
585 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_BED_POWER;
587
+                    pid_output=MAX_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;

Loading…
Cancel
Save