Code style and comment tweaks

This commit is contained in:
Scott Lahteine
2020-01-08 20:00:06 -06:00
parent 95046c9047
commit 6e658a7c04
8 changed files with 10 additions and 10 deletions

View File

@ -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];

View File

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