Browse Source

temperature.cpp: Fix typo of MAX_BED_PID to MAX_BED_POWER.

David Forrest 10 years ago
parent
commit
1d5d853c9a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/temperature.cpp

+ 1
- 1
Marlin/temperature.cpp View File

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

Loading…
Cancel
Save