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

Loading…
Cancel
Save