Browse Source

Unglobalize no_wait_for_cooling

AnHardt 9 years ago
parent
commit
fcceb98191
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      Marlin/Marlin_main.cpp

+ 4
- 1
Marlin/Marlin_main.cpp View File

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

Loading…
Cancel
Save