Cancel Objects - As seen at ERRF2019 (#15590)
This commit is contained in:
@ -96,6 +96,10 @@
|
||||
#include "../feature/backlash.h"
|
||||
#endif
|
||||
|
||||
#if ENABLED(CANCEL_OBJECTS)
|
||||
#include "../feature/cancel_object.h"
|
||||
#endif
|
||||
|
||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||
#include "../feature/power_loss_recovery.h"
|
||||
#endif
|
||||
@ -2597,7 +2601,11 @@ bool Planner::buffer_segment(const float &a, const float &b, const float &c, con
|
||||
#endif
|
||||
|
||||
// DRYRUN prevents E moves from taking place
|
||||
if (DEBUGGING(DRYRUN)) {
|
||||
if (DEBUGGING(DRYRUN)
|
||||
#if ENABLED(CANCEL_OBJECTS)
|
||||
|| cancelable.skipping
|
||||
#endif
|
||||
) {
|
||||
position.e = target.e;
|
||||
#if HAS_POSITION_FLOAT
|
||||
position_float.e = e;
|
||||
|
@ -2229,7 +2229,7 @@ int32_t Stepper::position(const AxisEnum axis) {
|
||||
// be very careful here. If the interrupt being preempted was the
|
||||
// Stepper ISR (this CAN happen with the endstop limits ISR) then
|
||||
// when the stepper ISR resumes, we must be very sure that the movement
|
||||
// is properly cancelled
|
||||
// is properly canceled
|
||||
void Stepper::endstop_triggered(const AxisEnum axis) {
|
||||
|
||||
const bool was_enabled = STEPPER_ISR_ENABLED();
|
||||
|
Reference in New Issue
Block a user