Explorar el Código

Fix typo, PID_BED_POWER -> MAX_BED_POWER

Alexander Hirzel hace 9 años
padre
commit
ecda6cdc0a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      Marlin/temperature.cpp

+ 1
- 1
Marlin/temperature.cpp Ver fichero

@@ -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…
Cancelar
Guardar