Browse Source

Bugfix LIN_ADV

Advance has nothing todo with Z_AXIS, strange copy&paste error?
pull/1/head
Sebastianv650 8 years ago
committed by Scott Lahteine
parent
commit
c11b2bb777
  1. 2
      Marlin/planner.cpp

2
Marlin/planner.cpp

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

Loading…
Cancel
Save