Store Mix factors as reciprocals and multiply
This commit is contained in:
@@ -750,7 +750,7 @@ void Planner::_buffer_line(const float &a, const float &b, const float &c, const
|
||||
// For a mixing extruder, get a magnified step_event_count for each
|
||||
#if ENABLED(MIXING_EXTRUDER)
|
||||
for (uint8_t i = 0; i < MIXING_STEPPERS; i++)
|
||||
block->mix_event_count[i] = UNEAR_ZERO(mixing_factor[i]) ? 0 : block->step_event_count / mixing_factor[i];
|
||||
block->mix_event_count[i] = mixing_factor[i] * block->step_event_count;
|
||||
#endif
|
||||
|
||||
#if FAN_COUNT > 0
|
||||
|
Reference in New Issue
Block a user