[2.0] FWRetract Reset (Best way) (#10083)

This commit is contained in:
Studiodyne
2018-03-14 07:35:30 +01:00
committed by Scott Lahteine
parent f894209de2
commit e7a61de8af
4 changed files with 8 additions and 5 deletions

View File

@ -1305,10 +1305,10 @@ void homeaxis(const AxisEnum axis) {
if (axis == Z_AXIS && STOW_PROBE()) return;
#endif
// Clear retracted status if homing the Z axis
// Clear z_lift if homing the Z axis
#if ENABLED(FWRETRACT)
if (axis == Z_AXIS)
for (uint8_t i = 0; i < EXTRUDERS; i++) fwretract.retracted[i] = false;
fwretract.hop_amount = 0.0;
#endif
#if ENABLED(DEBUG_LEVELING_FEATURE)