Skip to content

Commit

Permalink
Fix end of print retraction.
Browse files Browse the repository at this point in the history
  • Loading branch information
daid committed Feb 18, 2015
1 parent a336c15 commit 11b151a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/UltiLCD2_menu_print.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ static void abortPrint()
card.pause = false;
pauseRequested = false;

enquecommand_P(PSTR("M401"));

if (primed)
{
// set up the end of print retraction
Expand All @@ -78,8 +80,6 @@ static void abortPrint()
primed = false;
}

enquecommand_P(PSTR("M401"));

if (current_position[Z_AXIS] > Z_MAX_POS - 30)
{
enquecommand_P(PSTR("G28 X0 Y0"));
Expand Down

0 comments on commit 11b151a

Please sign in to comment.