Commit 604d6aa9 authored by MagoKimbra's avatar MagoKimbra

Update Pause

parent a1309759
...@@ -2365,10 +2365,7 @@ inline void gcode_G28(boolean home_x=false, boolean home_y=false) { ...@@ -2365,10 +2365,7 @@ inline void gcode_G28(boolean home_x=false, boolean home_y=false) {
} }
} }
lcd_setstatus("Finish "); lcd_setstatus("Finish ");
enquecommand("G28 X0 Y0"); enquecommands_P(PSTR("G28 X0 Y0\nG4 P0\nG4 P0\nG4 P0"));
enquecommand("G4 P0");
enquecommand("G4 P0");
enquecommand("G4 P0");
} }
#endif // ULTIPANEL #endif // ULTIPANEL
} }
...@@ -6408,10 +6405,7 @@ void pause() ...@@ -6408,10 +6405,7 @@ void pause()
if ((READ(PAUSE_PIN)^PAUSE_PIN_INVERTING) && printing && !paused) if ((READ(PAUSE_PIN)^PAUSE_PIN_INVERTING) && printing && !paused)
{ {
paused = true; paused = true;
enquecommand("M600"); enquecommands_P(PSTR("M600\nG4 P0\nG4 P0\nG4 P0"));
enquecommand("G4 P0");
enquecommand("G4 P0");
enquecommand("G4 P0");
} }
#endif // defined(PAUSE_PIN) && PAUSE_PIN > -1 #endif // defined(PAUSE_PIN) && PAUSE_PIN > -1
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment