Browse Source

🐛 Fix Mixing code typos (#22697)

vanilla_fb_2.0.x
Tanguy Pruvot 3 years ago
committed by Scott Lahteine
parent
commit
5af3dbdb30
  1. 2
      Marlin/src/module/planner.cpp
  2. 2
      Marlin/src/module/stepper.cpp

2
Marlin/src/module/planner.cpp

@ -2131,7 +2131,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
// Bail if this is a zero-length block
if (block->step_event_count < MIN_STEPS_PER_SEGMENT) return false;
TERN_(MIXING_EXTRUDER, mixer.populate_block(block->b_color))
TERN_(MIXING_EXTRUDER, mixer.populate_block(block->b_color));
TERN_(HAS_CUTTER, block->cutter_power = cutter.power);

2
Marlin/src/module/stepper.cpp

@ -2205,7 +2205,7 @@ uint32_t Stepper::block_phase_isr() {
accelerate_until = current_block->accelerate_until << oversampling;
decelerate_after = current_block->decelerate_after << oversampling;
TERN_(MIXING_EXTRUDER, mixer.stepper_setup(current_block->b_color))
TERN_(MIXING_EXTRUDER, mixer.stepper_setup(current_block->b_color));
TERN_(HAS_MULTI_EXTRUDER, stepper_extruder = current_block->extruder);

Loading…
Cancel
Save