🎨 Misc. cleanup, comments
This commit is contained in:
committed by
Scott Lahteine
parent
2690bb1bc2
commit
d7b7b570c7
@@ -2346,13 +2346,9 @@ uint32_t Stepper::block_phase_isr() {
|
||||
#endif
|
||||
#endif // LASER_POWER_INLINE
|
||||
|
||||
// At this point, we must ensure the movement about to execute isn't
|
||||
// trying to force the head against a limit switch. If using interrupt-
|
||||
// driven change detection, and already against a limit then no call to
|
||||
// the endstop_triggered method will be done and the movement will be
|
||||
// done against the endstop. So, check the limits here: If the movement
|
||||
// is against the limits, the block will be marked as to be killed, and
|
||||
// on the next call to this ISR, will be discarded.
|
||||
// If the endstop is already pressed, endstop interrupts won't invoke
|
||||
// endstop_triggered and the move will grind. So check here for a
|
||||
// triggered endstop, which marks the block for discard on the next ISR.
|
||||
endstops.update();
|
||||
|
||||
#if ENABLED(Z_LATE_ENABLE)
|
||||
|
||||
Reference in New Issue
Block a user