|
@@ -12746,6 +12746,14 @@ void set_current_from_steppers_for_axis(const AxisEnum axis) {
|
12746
|
12746
|
|
12747
|
12747
|
// Calculate and execute the segments
|
12748
|
12748
|
for (uint16_t s = segments + 1; --s;) {
|
|
12749
|
+
|
|
12750
|
+ static millis_t next_idle_ms = millis() + 200UL;
|
|
12751
|
+ thermalManager.manage_heater(); // This returns immediately if not really needed.
|
|
12752
|
+ if (ELAPSED(millis(), next_idle_ms)) {
|
|
12753
|
+ next_idle_ms = millis() + 200UL;
|
|
12754
|
+ idle();
|
|
12755
|
+ }
|
|
12756
|
+
|
12749
|
12757
|
LOOP_XYZE(i) raw[i] += segment_distance[i];
|
12750
|
12758
|
#if ENABLED(DELTA)
|
12751
|
12759
|
DELTA_RAW_IK(); // Delta can inline its kinematics
|