Correction for block->mix_steps

Fix #11484
This commit is contained in:
Scott Lahteine 2018-09-29 19:13:17 -05:00
parent 2ecfda80ac
commit 14df753086

View file

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