|
|
@ -357,11 +357,10 @@ void Stepper::isr() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
OCR1A = 2000; // 1kHz.
|
|
|
|
OCR1A = 2000; // 1kHz.
|
|
|
|
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (current_block) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Update endstops state, if enabled
|
|
|
|
// Update endstops state, if enabled
|
|
|
|
if (endstops.enabled
|
|
|
|
if (endstops.enabled
|
|
|
|
#if HAS_BED_PROBE
|
|
|
|
#if HAS_BED_PROBE
|
|
|
@ -667,7 +666,6 @@ void Stepper::isr() {
|
|
|
|
current_block = NULL;
|
|
|
|
current_block = NULL;
|
|
|
|
planner.discard_current_block();
|
|
|
|
planner.discard_current_block();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(ADVANCE) || ENABLED(LIN_ADVANCE)
|
|
|
|
#if ENABLED(ADVANCE) || ENABLED(LIN_ADVANCE)
|
|
|
|