Browse Source

Fix compile error with watch_bed_next_ms

Scott Lahteine 8 years ago
parent
commit
dcb8ec32ee
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
   millis_t Temperature::watch_heater_next_ms[HOTENDS] = { 0 };
101
   millis_t Temperature::watch_heater_next_ms[HOTENDS] = { 0 };
102
 #endif
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
   int Temperature::watch_target_bed_temp = 0;
105
   int Temperature::watch_target_bed_temp = 0;
106
   millis_t Temperature::watch_bed_next_ms = 0;
106
   millis_t Temperature::watch_bed_next_ms = 0;
107
 #endif
107
 #endif

+ 1
- 1
Marlin/temperature.h View File

105
       static millis_t watch_heater_next_ms[HOTENDS];
105
       static millis_t watch_heater_next_ms[HOTENDS];
106
     #endif
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
       static int watch_target_bed_temp;
109
       static int watch_target_bed_temp;
110
       static millis_t watch_bed_next_ms;
110
       static millis_t watch_bed_next_ms;
111
     #endif
111
     #endif

Loading…
Cancel
Save