Bugfix LIN_ADV

Advance has nothing todo with Z_AXIS, strange copy&paste error?
master
Sebastianv650 8 years ago committed by Scott Lahteine
parent ee0765e872
commit c11b2bb777

@ -1252,7 +1252,7 @@ void Planner::_buffer_line(const float &a, const float &b, const float &c, const
} }
else { else {
block->use_advance_lead = true; block->use_advance_lead = true;
block->abs_adv_steps_multiplier8 = lround(extruder_advance_k * (de_float / mm_D_float) * block->nominal_speed / (float)block->nominal_rate * axis_steps_per_mm[Z_AXIS] * 256.0); block->abs_adv_steps_multiplier8 = lround(extruder_advance_k * (de_float / mm_D_float) * block->nominal_speed / (float)block->nominal_rate * axis_steps_per_mm[E_AXIS] * 256.0);
} }
#elif ENABLED(ADVANCE) #elif ENABLED(ADVANCE)

Loading…
Cancel
Save