@@ -240,7 +240,7 @@ uint32_t Stepper::advance_divisor = 0,
240
240
bool Stepper::la_active = false ;
241
241
#endif
242
242
243
- #if HAS_SHAPING
243
+ #if HAS_ZV_SHAPING
244
244
shaping_time_t ShapingQueue::now = 0 ;
245
245
shaping_time_t ShapingQueue::times[shaping_echoes];
246
246
shaping_echo_axis_t ShapingQueue::echo_axes[shaping_echoes];
@@ -1494,7 +1494,7 @@ void Stepper::isr() {
1494
1494
// Enable ISRs to reduce USART processing latency
1495
1495
hal.isr_on ();
1496
1496
1497
- TERN_ (HAS_SHAPING , shaping_isr ()); // Do Shaper stepping, if needed
1497
+ TERN_ (HAS_ZV_SHAPING , shaping_isr ()); // Do Shaper stepping, if needed
1498
1498
1499
1499
if (!nextMainISR) pulse_phase_isr (); // 0 = Do coordinated axes Stepper pulses
1500
1500
@@ -1542,7 +1542,7 @@ void Stepper::isr() {
1542
1542
//
1543
1543
1544
1544
nextMainISR -= interval;
1545
- TERN_ (HAS_SHAPING , ShapingQueue::decrement_delays (interval));
1545
+ TERN_ (HAS_ZV_SHAPING , ShapingQueue::decrement_delays (interval));
1546
1546
TERN_ (LIN_ADVANCE, if (nextAdvanceISR != LA_ADV_NEVER) nextAdvanceISR -= interval);
1547
1547
TERN_ (INTEGRATED_BABYSTEPPING, if (nextBabystepISR != BABYSTEP_NEVER) nextBabystepISR -= interval);
1548
1548
@@ -1663,7 +1663,7 @@ void Stepper::pulse_phase_isr() {
1663
1663
abort_current_block = false ;
1664
1664
if (current_block) {
1665
1665
discard_current_block ();
1666
- #if HAS_SHAPING
1666
+ #if HAS_ZV_SHAPING
1667
1667
ShapingQueue::purge ();
1668
1668
#if ENABLED(INPUT_SHAPING_X)
1669
1669
shaping_x.delta_error = 0 ;
@@ -1921,7 +1921,7 @@ void Stepper::pulse_phase_isr() {
1921
1921
#endif
1922
1922
#endif
1923
1923
1924
- #if HAS_SHAPING
1924
+ #if HAS_ZV_SHAPING
1925
1925
// record an echo if a step is needed in the primary bresenham
1926
1926
const bool x_step = TERN0 (INPUT_SHAPING_X, step_needed.x && shaping_x.enabled ),
1927
1927
y_step = TERN0 (INPUT_SHAPING_Y, step_needed.y && shaping_y.enabled );
@@ -2035,7 +2035,7 @@ void Stepper::pulse_phase_isr() {
2035
2035
} while (--events_to_do);
2036
2036
}
2037
2037
2038
- #if HAS_SHAPING
2038
+ #if HAS_ZV_SHAPING
2039
2039
2040
2040
void Stepper::shaping_isr () {
2041
2041
AxisFlags step_needed{0 };
@@ -2087,7 +2087,7 @@ void Stepper::pulse_phase_isr() {
2087
2087
}
2088
2088
}
2089
2089
2090
- #endif // HAS_SHAPING
2090
+ #endif // HAS_ZV_SHAPING
2091
2091
2092
2092
// Calculate timer interval, with all limits applied.
2093
2093
hal_timer_t Stepper::calc_timer_interval (uint32_t step_rate) {
@@ -3108,7 +3108,7 @@ void Stepper::init() {
3108
3108
#endif
3109
3109
}
3110
3110
3111
- #if HAS_SHAPING
3111
+ #if HAS_ZV_SHAPING
3112
3112
3113
3113
/* *
3114
3114
* Calculate a fixed point factor to apply to the signal and its echo
@@ -3179,7 +3179,7 @@ void Stepper::init() {
3179
3179
return -1 ;
3180
3180
}
3181
3181
3182
- #endif // HAS_SHAPING
3182
+ #endif // HAS_ZV_SHAPING
3183
3183
3184
3184
/* *
3185
3185
* Set the stepper positions directly in steps
0 commit comments