Skip to content

Commit

Permalink
Use criteria from before 21779
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Sep 25, 2021
1 parent a22cb8f commit a557178
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/feature/powerloss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ void PrintJobRecovery::resume() {

#if ENABLED(POWER_LOSS_RECOVER_ZHOME) && defined(POWER_LOSS_ZHOME_POS)
#define HOMING_Z_DOWN 1
#else
#elif IS_CARTESIAN
#define HOME_XY_ONLY 1
#endif

Expand All @@ -410,7 +410,7 @@ void PrintJobRecovery::resume() {
}

// Home XY with no Z raise, and also home Z here if Z isn't homing down below.
gcode.process_subcommands_now_P(PSTR("G28R0XY")); // No raise during G28
gcode.process_subcommands_now_P(PSTR("G28R0" TERN_(HOME_XY_ONLY, "XY"))); // No raise during G28

#endif

Expand Down

0 comments on commit a557178

Please sign in to comment.