🐛 Fix Mixing code typos (#22697)

This commit is contained in:
Tanguy Pruvot 2021-09-03 05:08:40 +02:00 committed by Scott Lahteine
parent 9f43452fbd
commit 5af3dbdb30
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -2205,7 +2205,7 @@ uint32_t Stepper::block_phase_isr() {
accelerate_until = current_block->accelerate_until << oversampling; accelerate_until = current_block->accelerate_until << oversampling;
decelerate_after = current_block->decelerate_after << 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); TERN_(HAS_MULTI_EXTRUDER, stepper_extruder = current_block->extruder);