Remove extra setup_for_endstop_move
This commit is contained in:
parent
8d814de558
commit
b5200e184c
|
@ -1264,14 +1264,6 @@ static void setup_for_endstop_move() {
|
|||
feedrate = oldFeedRate;
|
||||
}
|
||||
|
||||
static void setup_for_endstop_move() {
|
||||
saved_feedrate = feedrate;
|
||||
saved_feedrate_multiplier = feedrate_multiplier;
|
||||
feedrate_multiplier = 100;
|
||||
refresh_cmd_timeout();
|
||||
enable_endstops(true);
|
||||
}
|
||||
|
||||
static void clean_up_after_endstop_move() {
|
||||
#ifdef ENDSTOPS_ONLY_FOR_HOMING
|
||||
enable_endstops(false);
|
||||
|
|
Loading…
Reference in a new issue