File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1792,7 +1792,7 @@ void Stepper::pulse_phase_isr() {
1792
1792
PULSE_PREP (W);
1793
1793
#endif
1794
1794
1795
- #if HAS_E0_STEP || ENABLED( MIXING_EXTRUDER)
1795
+ #if EITHER( HAS_E0_STEP, MIXING_EXTRUDER)
1796
1796
PULSE_PREP (E);
1797
1797
1798
1798
#if ENABLED(LIN_ADVANCE)
@@ -2365,8 +2365,7 @@ uint32_t Stepper::block_phase_isr() {
2365
2365
step_event_count = current_block->step_event_count << oversampling;
2366
2366
2367
2367
// Initialize Bresenham delta errors to 1/2
2368
- delta_error = -int32_t (step_event_count);
2369
- TERN_ (LIN_ADVANCE, la_delta_error = -int32_t (step_event_count));
2368
+ TERN_ (LIN_ADVANCE, la_delta_error =) delta_error = -int32_t (step_event_count);
2370
2369
2371
2370
// Calculate Bresenham dividends and divisors
2372
2371
advance_dividend = current_block->steps << 1 ;
You can’t perform that action at this time.
0 commit comments