|
@@ -594,6 +594,14 @@ float soft_endstop_min[XYZ] = { X_MIN_BED, Y_MIN_BED, Z_MIN_POS },
|
594
|
594
|
|
595
|
595
|
// Calculate and execute the segments
|
596
|
596
|
for (uint16_t s = segments + 1; --s;) {
|
|
597
|
+
|
|
598
|
+ static millis_t next_idle_ms = millis() + 200UL;
|
|
599
|
+ thermalManager.manage_heater(); // This returns immediately if not really needed.
|
|
600
|
+ if (ELAPSED(millis(), next_idle_ms)) {
|
|
601
|
+ next_idle_ms = millis() + 200UL;
|
|
602
|
+ idle();
|
|
603
|
+ }
|
|
604
|
+
|
597
|
605
|
LOOP_XYZE(i) raw[i] += segment_distance[i];
|
598
|
606
|
#if ENABLED(DELTA)
|
599
|
607
|
DELTA_RAW_IK(); // Delta can inline its kinematics
|