Преглед на файлове

Fix typo, PID_BED_POWER -> MAX_BED_POWER

Alexander Hirzel преди 9 години
родител
ревизия
ecda6cdc0a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      Marlin/temperature.cpp

+ 1
- 1
Marlin/temperature.cpp Целия файл

@@ -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…
Отказ
Запис