Browse Source

Fix compile error with watch_bed_next_ms

pull/1/head
Scott Lahteine 9 years ago
parent
commit
dcb8ec32ee
  1. 2
      Marlin/temperature.cpp
  2. 2
      Marlin/temperature.h

2
Marlin/temperature.cpp

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

2
Marlin/temperature.h

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

Loading…
Cancel
Save