Browse Source

Merge pull request #4106 from thinkyhead/rc_temp_compile_err

Fix compile error with watch_bed_next_ms
Scott Lahteine 8 years ago
parent
commit
71a7408012
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Marlin/temperature.cpp
  2. 1
    1
      Marlin/temperature.h

+ 1
- 1
Marlin/temperature.cpp View File

@@ -101,7 +101,7 @@ unsigned char Temperature::soft_pwm_bed;
101 101
   millis_t Temperature::watch_heater_next_ms[HOTENDS] = { 0 };
102 102
 #endif
103 103
 
104
-#if ENABLED(THERMAL_PROTECTION_HOTENDS) && WATCH_BED_TEMP_PERIOD > 0
104
+#if ENABLED(THERMAL_PROTECTION_BED) && WATCH_BED_TEMP_PERIOD > 0
105 105
   int Temperature::watch_target_bed_temp = 0;
106 106
   millis_t Temperature::watch_bed_next_ms = 0;
107 107
 #endif

+ 1
- 1
Marlin/temperature.h View File

@@ -105,7 +105,7 @@ class Temperature {
105 105
       static millis_t watch_heater_next_ms[HOTENDS];
106 106
     #endif
107 107
 
108
-    #if ENABLED(THERMAL_PROTECTION_HOTENDS) && WATCH_BED_TEMP_PERIOD > 0
108
+    #if ENABLED(THERMAL_PROTECTION_BED) && WATCH_BED_TEMP_PERIOD > 0
109 109
       static int watch_target_bed_temp;
110 110
       static millis_t watch_bed_next_ms;
111 111
     #endif

Loading…
Cancel
Save