Skip to content

Commit

Permalink
Merge pull request #4106 from thinkyhead/rc_temp_compile_err
Browse files Browse the repository at this point in the history
Fix compile error with watch_bed_next_ms
  • Loading branch information
thinkyhead authored Jun 21, 2016
2 parents 5e46962 + dcb8ec3 commit 71a7408
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Marlin/temperature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ unsigned char Temperature::soft_pwm_bed;
millis_t Temperature::watch_heater_next_ms[HOTENDS] = { 0 };
#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;
millis_t Temperature::watch_bed_next_ms = 0;
#endif
Expand Down
2 changes: 1 addition & 1 deletion Marlin/temperature.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Temperature {
static millis_t watch_heater_next_ms[HOTENDS];
#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 millis_t watch_bed_next_ms;
#endif
Expand Down

0 comments on commit 71a7408

Please sign in to comment.