Browse Source

Clear retracted status when homing the Z axis

pull/1/head
Thomas Moore 7 years ago
committed by Scott Lahteine
parent
commit
f3914a432e
  1. 6
      Marlin/src/module/motion.cpp

6
Marlin/src/module/motion.cpp

@ -1304,6 +1304,12 @@ void homeaxis(const AxisEnum axis) {
if (axis == Z_AXIS && STOW_PROBE()) return;
#endif
// Clear retracted status if homing the Z axis
#if ENABLED(FWRETRACT)
if (axis == Z_AXIS)
for (uint8_t i = 0; i < EXTRUDERS; i++) fwretract.retracted[i] = false;
#endif
#if ENABLED(DEBUG_LEVELING_FEATURE)
if (DEBUGGING(LEVELING)) {
SERIAL_ECHOPAIR("<<< homeaxis(", axis_codes[axis]);

Loading…
Cancel
Save