Browse Source

Move sync_plan_position after DEBUG_LEVELING

Scott Lahteine 8 years ago
parent
commit
7f265db3ef
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Marlin/Marlin_main.cpp

+ 2
- 1
Marlin/Marlin_main.cpp View File

@@ -3069,12 +3069,13 @@ inline void gcode_G28() {
3069 3069
         current_position[X_AXIS] = uncorrected_position.x;
3070 3070
         current_position[Y_AXIS] = uncorrected_position.y;
3071 3071
         current_position[Z_AXIS] = uncorrected_position.z;
3072
-        sync_plan_position();
3073 3072
 
3074 3073
         #if ENABLED(DEBUG_LEVELING_FEATURE)
3075 3074
           if (DEBUGGING(LEVELING)) DEBUG_POS("AFTER matrix.set_to_identity", current_position);
3076 3075
         #endif
3077 3076
 
3077
+        sync_plan_position();
3078
+
3078 3079
       #endif // !DELTA
3079 3080
     }
3080 3081
 

Loading…
Cancel
Save