Eliminate void setup_for_endstop_move()

This commit is contained in:
AnHardt 2016-07-08 15:23:20 +02:00
parent 0ea6247fc2
commit f69434d81c

View File

@ -1620,10 +1620,6 @@ static void setup_for_endstop_or_probe_move() {
feedrate_multiplier = 100; feedrate_multiplier = 100;
refresh_cmd_timeout(); refresh_cmd_timeout();
} }
static void setup_for_endstop_move() {
setup_for_endstop_or_probe_move();
endstops.enable();
}
static void clean_up_after_endstop_or_probe_move() { static void clean_up_after_endstop_or_probe_move() {
#if ENABLED(DEBUG_LEVELING_FEATURE) #if ENABLED(DEBUG_LEVELING_FEATURE)
@ -2843,7 +2839,8 @@ inline void gcode_G28() {
} }
#endif #endif
setup_for_endstop_move(); setup_for_endstop_or_probe_move();
endstops.enable();
#if ENABLED(DELTA) #if ENABLED(DELTA)
/** /**