From 257a907456071e67f5b4d7aa3e85fbc6f6746d75 Mon Sep 17 00:00:00 2001
From: Scott Lahteine <sourcetree@thinkyhead.com>
Date: Sun, 12 Apr 2015 23:17:28 -0700
Subject: [PATCH] Fix typo in next_bed_check_ms

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

diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp
index 179023de6cd..9c9d6c5e08f 100644
--- a/Marlin/temperature.cpp
+++ b/Marlin/temperature.cpp
@@ -638,7 +638,7 @@ void manage_heater() {
   #endif       
   
   #ifndef PIDTEMPBED
-    if (ms < previous_bed_check_ms) return;
+    if (ms < next_bed_check_ms) return;
     next_bed_check_ms = ms + BED_CHECK_INTERVAL;
   #endif