Don't split first_move while homing or probing

While homing or probing it might be bad if the stop/trobe triggers during the first part and the second is still in the buffer.
This commit is contained in:
AnHardt 2017-12-06 14:54:15 +01:00
parent d951ba83e6
commit b19846aca1
3 changed files with 7 additions and 2 deletions

View file

@ -161,6 +161,7 @@ class Planner {
travel_acceleration, // Travel acceleration mm/s^2 DEFAULT ACCELERATION for all NON printing moves. M204 MXXXX
max_jerk[XYZE], // The largest speed change requiring no acceleration
min_travel_feedrate_mm_s;
static bool split_first_move;
#if HAS_LEVELING
static bool leveling_active; // Flag that bed leveling is enabled