Browse Source

Correction for block->mix_steps

Fix #11484
pull/1/head
Scott Lahteine 6 years ago
parent
commit
14df753086
  1. 8
      Marlin/src/module/planner.cpp

8
Marlin/src/module/planner.cpp

@ -1770,13 +1770,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
// For a mixing extruder, get a magnified esteps for each
#if ENABLED(MIXING_EXTRUDER)
for (uint8_t i = 0; i < MIXING_STEPPERS; i++)
block->mix_steps[i] = mixing_factor[i] * (
#if ENABLED(LIN_ADVANCE)
esteps
#else
block->step_event_count
#endif
);
block->mix_steps[i] = mixing_factor[i] * esteps;
#endif
#if FAN_COUNT > 0

Loading…
Cancel
Save