Correction for block->mix_steps

Fix #11484
2.0.x
Scott Lahteine 6 years ago
parent 2ecfda80ac
commit 14df753086

@ -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 // For a mixing extruder, get a magnified esteps for each
#if ENABLED(MIXING_EXTRUDER) #if ENABLED(MIXING_EXTRUDER)
for (uint8_t i = 0; i < MIXING_STEPPERS; i++) for (uint8_t i = 0; i < MIXING_STEPPERS; i++)
block->mix_steps[i] = mixing_factor[i] * ( block->mix_steps[i] = mixing_factor[i] * esteps;
#if ENABLED(LIN_ADVANCE)
esteps
#else
block->step_event_count
#endif
);
#endif #endif
#if FAN_COUNT > 0 #if FAN_COUNT > 0

Loading…
Cancel
Save