0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-22 17:52:57 +00:00

🐛 Fix step oversampling with NONLINEAR_EXTRUSION (#27171)

Followup to #27113
This commit is contained in:
Mihai 2024-06-14 07:05:05 +03:00 committed by GitHub
parent 38298076d6
commit 611ceedc1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {