Skip to content

Commit

Permalink
🐛 Fix step oversampling with NONLINEAR_EXTRUSION (MarlinFirmware#27171)
Browse files Browse the repository at this point in the history
  • Loading branch information
mh-dm authored Jun 14, 2024
1 parent 3829807 commit 611ceed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Marlin/src/module/stepper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2694,9 +2694,7 @@ hal_timer_t Stepper::block_phase_isr() {
set_axis_moved_for_current_block();

#if ENABLED(ADAPTIVE_STEP_SMOOTHING)
// Nonlinear Extrusion needs at least 2x oversampling to permit increase of E step rate
// Otherwise assume no axis smoothing (via oversampling)
oversampling_factor = TERN0(NONLINEAR_EXTRUSION, 1);
oversampling_factor = 0;

// Decide if axis smoothing is possible
if (stepper.adaptive_step_smoothing_enabled) {
Expand Down

0 comments on commit 611ceed

Please sign in to comment.