Browse Source

Move sync_plan_position after DEBUG_LEVELING

pull/1/head
Scott Lahteine 9 years ago
parent
commit
7f265db3ef
  1. 3
      Marlin/Marlin_main.cpp

3
Marlin/Marlin_main.cpp

@ -3069,12 +3069,13 @@ inline void gcode_G28() {
current_position[X_AXIS] = uncorrected_position.x;
current_position[Y_AXIS] = uncorrected_position.y;
current_position[Z_AXIS] = uncorrected_position.z;
sync_plan_position();
#if ENABLED(DEBUG_LEVELING_FEATURE)
if (DEBUGGING(LEVELING)) DEBUG_POS("AFTER matrix.set_to_identity", current_position);
#endif
sync_plan_position();
#endif // !DELTA
}

Loading…
Cancel
Save