From 6583bb781d31b64d0704dcef42a1967f7dea86cf Mon Sep 17 00:00:00 2001
From: David Forrest <drf@vims.edu>
Date: Thu, 1 Jan 2015 19:11:42 -0500
Subject: [PATCH 1/2] temperature.cpp: Fix typo of MAX_BED_PID to
 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 e7f640953c..ccf3f2b515 100644
--- a/Marlin/temperature.cpp
+++ b/Marlin/temperature.cpp
@@ -566,7 +566,7 @@ void manage_heater()
 		  temp_dState_bed = pid_input;
 
 		  pid_output = pTerm_bed + iTerm_bed - dTerm_bed;
-          	  if (pid_output > MAX_BED_PID) {
+          	  if (pid_output > MAX_BED_POWER) {
             	    if (pid_error_bed > 0 )  temp_iState_bed -= pid_error_bed; // conditional un-integration
                     pid_output=PID_MAX;
           	  } else if (pid_output < 0){

From 625860f0868fd6dd642d25f5b9a5be44080f3175 Mon Sep 17 00:00:00 2001
From: David Forrest <drf@vims.edu>
Date: Thu, 1 Jan 2015 19:24:42 -0500
Subject: [PATCH 2/2] temperature.cpp: Fix typo of PID_MAX to MAX_BED_POWER for
 the bed.

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

diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp
index ccf3f2b515..f4aa873cbc 100644
--- a/Marlin/temperature.cpp
+++ b/Marlin/temperature.cpp
@@ -568,7 +568,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_MAX;
+                    pid_output=PID_BED_POWER;
           	  } else if (pid_output < 0){
             	    if (pid_error_bed < 0 )  temp_iState_bed -= pid_error_bed; // conditional un-integration
                     pid_output=0;