Browse Source

Bugfix LIN_ADV

Advance has nothing todo with Z_AXIS, strange copy&paste error?
Sebastianv650 8 years ago
parent
commit
c11b2bb777
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/planner.cpp

+ 1
- 1
Marlin/planner.cpp View File

@@ -1252,7 +1252,7 @@ void Planner::_buffer_line(const float &a, const float &b, const float &c, const
1252 1252
     }
1253 1253
     else {
1254 1254
       block->use_advance_lead = true;
1255
-      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);
1255
+      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);
1256 1256
     }
1257 1257
 
1258 1258
   #elif ENABLED(ADVANCE)

Loading…
Cancel
Save