Unglobalize no_wait_for_cooling

This commit is contained in:
AnHardt 2015-11-09 13:21:47 +01:00 committed by Richard Wackerbarth
parent 78a347a01a
commit fcceb98191

View File

@ -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);