Browse Source

Clear retracted status when homing the Z axis

Thomas Moore 7 years ago
parent
commit
f3914a432e
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      Marlin/src/module/motion.cpp

+ 6
- 0
Marlin/src/module/motion.cpp View File

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

Loading…
Cancel
Save