🐛 Fix step oversampling with NONLINEAR_EXTRUSION (#27171)
Followup to #27113
This commit is contained in:
@@ -2694,9 +2694,7 @@ hal_timer_t Stepper::block_phase_isr() {
|
|||||||
set_axis_moved_for_current_block();
|
set_axis_moved_for_current_block();
|
||||||
|
|
||||||
#if ENABLED(ADAPTIVE_STEP_SMOOTHING)
|
#if ENABLED(ADAPTIVE_STEP_SMOOTHING)
|
||||||
// Nonlinear Extrusion needs at least 2x oversampling to permit increase of E step rate
|
oversampling_factor = 0;
|
||||||
// Otherwise assume no axis smoothing (via oversampling)
|
|
||||||
oversampling_factor = TERN0(NONLINEAR_EXTRUSION, 1);
|
|
||||||
|
|
||||||
// Decide if axis smoothing is possible
|
// Decide if axis smoothing is possible
|
||||||
if (stepper.adaptive_step_smoothing_enabled) {
|
if (stepper.adaptive_step_smoothing_enabled) {
|
||||||
|
Reference in New Issue
Block a user