Pārlūkot izejas kodu

temperature.cpp: Fix typo of PID_MAX to MAX_BED_POWER for the bed.

David Forrest 10 gadus atpakaļ
vecāks
revīzija
625860f086
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      Marlin/temperature.cpp

+ 1
- 1
Marlin/temperature.cpp Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt