Clear retracted status when homing the Z axis
This commit is contained in:
parent
6d7f4f84e2
commit
f3914a432e
@ -1304,6 +1304,12 @@ void homeaxis(const AxisEnum axis) {
|
|||||||
if (axis == Z_AXIS && STOW_PROBE()) return;
|
if (axis == Z_AXIS && STOW_PROBE()) return;
|
||||||
#endif
|
#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 ENABLED(DEBUG_LEVELING_FEATURE)
|
||||||
if (DEBUGGING(LEVELING)) {
|
if (DEBUGGING(LEVELING)) {
|
||||||
SERIAL_ECHOPAIR("<<< homeaxis(", axis_codes[axis]);
|
SERIAL_ECHOPAIR("<<< homeaxis(", axis_codes[axis]);
|
||||||
|
Loading…
Reference in New Issue
Block a user