Browse Source

Unglobalize no_wait_for_cooling

pull/1/head
AnHardt 9 years ago
committed by Richard Wackerbarth
parent
commit
fcceb98191
  1. 5
      Marlin/Marlin_main.cpp

5
Marlin/Marlin_main.cpp

@ -288,7 +288,6 @@ static millis_t stepper_inactive_time = DEFAULT_STEPPER_DEACTIVE_TIME * 1000L;
millis_t print_job_start_ms = 0; ///< Print job start time
millis_t print_job_stop_ms = 0; ///< Print job stop time
static uint8_t target_extruder;
bool no_wait_for_cooling = true;
bool target_direction;
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
@ -3890,6 +3889,8 @@ inline void gcode_M105() {
* M109: Wait for extruder(s) to reach temperature
*/
inline void gcode_M109() {
bool no_wait_for_cooling = true;
if (setTargetedHotend(109)) return;
if (marlin_debug_flags & DEBUG_DRYRUN) return;
@ -3976,6 +3977,8 @@ inline void gcode_M109() {
* Rxxx Wait for bed current temp to reach target temp. Waits when heating and cooling
*/
inline void gcode_M190() {
bool no_wait_for_cooling = true;
if (marlin_debug_flags & DEBUG_DRYRUN) return;
LCD_MESSAGEPGM(MSG_BED_HEATING);

Loading…
Cancel
Save