Browse Source

apply correction when swtiching from MBL to physical in G28 X

lrpirlet 9 years ago
parent
commit
9b42c6b44b
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/Marlin_main.cpp

+ 1
- 0
Marlin/Marlin_main.cpp View File

@@ -2770,6 +2770,7 @@ inline void gcode_G28() {
2770 2770
                                 current_position[Y_AXIS] - home_offset[Y_AXIS]);
2771 2771
       }
2772 2772
       mbl.set_active(false);
2773
+      current_position[Z_AXIS] = pre_home_z;
2773 2774
     }
2774 2775
   #endif
2775 2776
 

Loading…
Cancel
Save