|
|
@ -189,7 +189,7 @@ bool Stepper::abort_current_block; |
|
|
|
uint32_t Stepper::acceleration_time, Stepper::deceleration_time; |
|
|
|
uint8_t Stepper::steps_per_isr; |
|
|
|
|
|
|
|
#if HAS_FREEZE_PIN |
|
|
|
#if ENABLED(FREEZE_FEATURE) |
|
|
|
bool Stepper::frozen; // = false
|
|
|
|
#endif |
|
|
|
|
|
|
@ -1643,7 +1643,7 @@ void Stepper::pulse_phase_isr() { |
|
|
|
if (!current_block) return; |
|
|
|
|
|
|
|
// Skipping step processing causes motion to freeze
|
|
|
|
if (TERN0(HAS_FREEZE_PIN, frozen)) return; |
|
|
|
if (TERN0(FREEZE_FEATURE, frozen)) return; |
|
|
|
|
|
|
|
// Count of pending loops and events for this iteration
|
|
|
|
const uint32_t pending_events = step_event_count - step_events_completed; |
|
|
|