🎨 Apply TERN0/1 for some contexts (#27036)

This commit is contained in:
ellensp
2024-05-16 08:42:19 +12:00
committed by GitHub
parent 5f96dffb9b
commit 3dc437add4
10 changed files with 12 additions and 12 deletions

View File

@@ -2681,7 +2681,7 @@ hal_timer_t Stepper::block_phase_isr() {
#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 = TERN(NONLINEAR_EXTRUSION, 1, 0);
oversampling_factor = TERN0(NONLINEAR_EXTRUSION, 1);
// Decide if axis smoothing is possible
if (stepper.adaptive_step_smoothing_enabled) {