Code style and comment tweaks
This commit is contained in:
@ -2352,7 +2352,7 @@ void MarlinSettings::reset() {
|
||||
#endif
|
||||
|
||||
#if HAS_BED_PROBE
|
||||
constexpr float dpo[XYZ] = NOZZLE_TO_PROBE_OFFSET;
|
||||
constexpr float dpo[] = NOZZLE_TO_PROBE_OFFSET;
|
||||
static_assert(COUNT(dpo) == 3, "NOZZLE_TO_PROBE_OFFSET must contain offsets for X, Y, and Z.");
|
||||
#if HAS_PROBE_XY_OFFSET
|
||||
LOOP_XYZ(a) probe_offset[a] = dpo[a];
|
||||
|
@ -1492,7 +1492,7 @@ void Stepper::stepper_pulse_phase_isr() {
|
||||
// Don't step E here - But remember the number of steps to perform
|
||||
motor_direction(E_AXIS) ? --LA_steps : ++LA_steps;
|
||||
#else
|
||||
step_needed[E_AXIS] = delta_error.e >= 0;
|
||||
step_needed.e = delta_error.e >= 0;
|
||||
#endif
|
||||
}
|
||||
#elif HAS_E0_STEP
|
||||
@ -1519,7 +1519,7 @@ void Stepper::stepper_pulse_phase_isr() {
|
||||
|
||||
#if DISABLED(LIN_ADVANCE)
|
||||
#if ENABLED(MIXING_EXTRUDER)
|
||||
if (step_needed[E_AXIS]) E_STEP_WRITE(mixer.get_next_stepper(), !INVERT_E_STEP_PIN);
|
||||
if (step_needed.e) E_STEP_WRITE(mixer.get_next_stepper(), !INVERT_E_STEP_PIN);
|
||||
#elif HAS_E0_STEP
|
||||
PULSE_START(E);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user