1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

Bugfix LIN_ADV

Advance has nothing todo with Z_AXIS, strange copy&paste error?
This commit is contained in:
Sebastianv650 2016-11-16 16:52:15 +01:00 committed by Scott Lahteine
parent ee0765e872
commit c11b2bb777

View File

@ -1252,7 +1252,7 @@ void Planner::_buffer_line(const float &a, const float &b, const float &c, const
}
else {
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)