From ae12ad0d6c4ecd7f0d5e476a1267034c4467640e Mon Sep 17 00:00:00 2001
From: Alexander Hirzel <alex@hirzel.us>
Date: Fri, 2 Jan 2015 01:36:27 -0500
Subject: [PATCH] Fix typo, PID_BED_POWER -> MAX_BED_POWER

---
 Marlin/temperature.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp
index ce9bba3164..94d257d550 100644
--- a/Marlin/temperature.cpp
+++ b/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;