Fix resume from power loss G-Code. (#13035)

This commit is contained in:
raTmole 2019-01-28 21:19:26 +02:00 committed by Scott Lahteine
parent 02ab66fca3
commit ddeca7a358

View File

@ -235,7 +235,7 @@ void PrintJobRecovery::resume() {
// Set Z to 0, raise Z by 2mm, and Home (XY only for Cartesian) with no raise
// (Only do simulated homing in Marlin Dev Mode.)
gcode.process_subcommands_now_P(PSTR("G92.0 Z0|G1 Z" STRINGIFY(RECOVERY_ZRAISE) "|G28 R0"
gcode.process_subcommands_now_P(PSTR("G92.0 Z0\nG1 Z" STRINGIFY(RECOVERY_ZRAISE) "\nG28 R0"
#if ENABLED(MARLIN_DEV_MODE)
" S"
#elif !IS_KINEMATIC