Merge pull request #5246 from thinkyhead/rc_some_cleanup

Minor stepper cleanup
This commit is contained in:
Scott Lahteine
2016-11-21 13:55:25 -06:00
committed by GitHub
3 changed files with 10 additions and 13 deletions

View File

@ -2023,9 +2023,7 @@ static void clean_up_after_endstop_or_probe_move() {
// When deploying make sure BLTOUCH is not already triggered
#if ENABLED(BLTOUCH)
if (deploy && TEST_BLTOUCH()) { stop(); return true; }
#endif
#if ENABLED(Z_PROBE_SLED)
#elif ENABLED(Z_PROBE_SLED)
if (axis_unhomed_error(true, false, false)) { stop(); return true; }
#elif ENABLED(Z_PROBE_ALLEN_KEY)
if (axis_unhomed_error(true, true, true )) { stop(); return true; }
@ -2109,7 +2107,6 @@ static void clean_up_after_endstop_or_probe_move() {
// Tell the planner where we actually are
SYNC_PLAN_POSITION_KINEMATIC();
#if ENABLED(DEBUG_LEVELING_FEATURE)
if (DEBUGGING(LEVELING)) DEBUG_POS("<<< do_probe_move", current_position);
#endif