Browse Source

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

pull/1/head
raTmole 6 years ago
committed by Scott Lahteine
parent
commit
ddeca7a358
  1. 2
      Marlin/src/feature/power_loss_recovery.cpp

2
Marlin/src/feature/power_loss_recovery.cpp

@ -235,7 +235,7 @@ void PrintJobRecovery::resume() {
// Set Z to 0, raise Z by 2mm, and Home (XY only for Cartesian) with no raise // 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.) // (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) #if ENABLED(MARLIN_DEV_MODE)
" S" " S"
#elif !IS_KINEMATIC #elif !IS_KINEMATIC

Loading…
Cancel
Save