From 00716d0ca0e01dcb8618e28d241393cd960131d8 Mon Sep 17 00:00:00 2001
From: Scott Lahteine <sourcetree@thinkyhead.com>
Date: Thu, 21 May 2015 16:44:49 -0700
Subject: [PATCH] Small start_watching_heater adjustment

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

diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp
index 9fdcb785cd..5799a44d19 100644
--- a/Marlin/temperature.cpp
+++ b/Marlin/temperature.cpp
@@ -1004,10 +1004,9 @@ void tp_init() {
    * This is called when the temperature is set. (M104, M109)
    */
   void start_watching_heater(int e) {
-    millis_t ms = millis() + WATCH_TEMP_PERIOD * 1000;
     if (degHotend(e) < degTargetHotend(e) - (WATCH_TEMP_INCREASE + TEMP_HYSTERESIS + 1)) {
       watch_target_temp[e] = degHotend(e) + WATCH_TEMP_INCREASE;
-      watch_heater_next_ms[e] = ms;
+      watch_heater_next_ms[e] = millis() + WATCH_TEMP_PERIOD * 1000;;
     }
     else
       watch_heater_next_ms[e] = 0;
-- 
GitLab