🎨 Apply TERN0/1 for some contexts (#27036)
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user