|
@@ -92,6 +92,8 @@ float Planner::max_feedrate_mm_s[XYZE_N], // Max speeds in mm per second
|
92
|
92
|
uint8_t Planner::last_extruder = 0; // Respond to extruder change
|
93
|
93
|
#endif
|
94
|
94
|
|
|
95
|
+bool Planner::split_first_move = true;
|
|
96
|
+
|
95
|
97
|
int16_t Planner::flow_percentage[EXTRUDERS] = ARRAY_BY_EXTRUDERS1(100); // Extrusion factor for each extruder
|
96
|
98
|
|
97
|
99
|
float Planner::e_factor[EXTRUDERS], // The flow percentage and volumetric multiplier combine to scale E movement
|
|
@@ -1433,8 +1435,8 @@ void Planner::_buffer_line(const float &a, const float &b, const float &c, const
|
1433
|
1435
|
if (DEBUGGING(DRYRUN))
|
1434
|
1436
|
position[E_AXIS] = target[E_AXIS];
|
1435
|
1437
|
|
1436
|
|
- // Always split the first move into one longer and one shorter move
|
1437
|
|
- if (!blocks_queued()) {
|
|
1438
|
+ // Always split the first move into two (if not homing or probing)
|
|
1439
|
+ if (!blocks_queued() && split_first_move) {
|
1438
|
1440
|
#define _BETWEEN(A) (position[A##_AXIS] + target[A##_AXIS]) >> 1
|
1439
|
1441
|
const int32_t between[XYZE] = { _BETWEEN(X), _BETWEEN(Y), _BETWEEN(Z), _BETWEEN(E) };
|
1440
|
1442
|
DISABLE_STEPPER_DRIVER_INTERRUPT();
|