Browse Source

Update Pause

studiodyne 7 years ago
parent
commit
51d080d2c1
No account linked to committer's email address
1 changed files with 3 additions and 4 deletions
  1. 3
    4
      Marlin/src/feature/pause.cpp

+ 3
- 4
Marlin/src/feature/pause.cpp View File

485
     // If retracted before goto pause
485
     // If retracted before goto pause
486
     if (fwretract.retracted[active_extruder])
486
     if (fwretract.retracted[active_extruder])
487
       do_pause_e_move(-fwretract.retract_length, fwretract.retract_feedrate_mm_s);
487
       do_pause_e_move(-fwretract.retract_length, fwretract.retract_feedrate_mm_s);
488
-  #else
489
-    // If resume_position is negative
490
-    if (resume_position[E_AXIS] < 0) do_pause_e_move(resume_position[E_AXIS], PAUSE_PARK_RETRACT_FEEDRATE);
491
   #endif
488
   #endif
492
-
489
+  // If resume_position is negative
490
+  if (resume_position[E_AXIS] < 0) do_pause_e_move(resume_position[E_AXIS], PAUSE_PARK_RETRACT_FEEDRATE);
491
+  
493
   // Move XY to starting position, then Z
492
   // Move XY to starting position, then Z
494
   do_blocking_move_to_xy(resume_position[X_AXIS], resume_position[Y_AXIS], NOZZLE_PARK_XY_FEEDRATE);
493
   do_blocking_move_to_xy(resume_position[X_AXIS], resume_position[Y_AXIS], NOZZLE_PARK_XY_FEEDRATE);
495
 
494
 

Loading…
Cancel
Save