Browse Source

Fix typo, PID_BED_POWER -> MAX_BED_POWER

pull/1/head
Alexander Hirzel 10 years ago
parent
commit
ae12ad0d6c
  1. 2
      Marlin/temperature.cpp

2
Marlin/temperature.cpp

@ -584,7 +584,7 @@ void manage_heater()
pid_output = pTerm_bed + iTerm_bed - dTerm_bed;
if (pid_output > MAX_BED_POWER) {
if (pid_error_bed > 0 ) temp_iState_bed -= pid_error_bed; // conditional un-integration
pid_output=PID_BED_POWER;
pid_output=MAX_BED_POWER;
} else if (pid_output < 0){
if (pid_error_bed < 0 ) temp_iState_bed -= pid_error_bed; // conditional un-integration
pid_output=0;

Loading…
Cancel
Save