Browse Source

Fix Z-hops during retract/prime lead to blobs

We don't want to have retract/prime movements done with LIN_ADVANCE, that's also true with simultaneously executed Z-hops.
Sebastianv650 8 years ago
parent
commit
9818d97587
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/planner.cpp

+ 1
- 1
Marlin/planner.cpp View File

1206
     // This leads to an enormous number of advance steps due to a huge e_acceleration.
1206
     // This leads to an enormous number of advance steps due to a huge e_acceleration.
1207
     // The math is correct, but you don't want a retract move done with advance!
1207
     // The math is correct, but you don't want a retract move done with advance!
1208
     // So this situation is filtered out here.
1208
     // So this situation is filtered out here.
1209
-    if (!block->steps[E_AXIS] || (!block->steps[X_AXIS] && !block->steps[Y_AXIS] && !block->steps[Z_AXIS]) || stepper.get_advance_k() == 0 || (uint32_t) block->steps[E_AXIS] == block->step_event_count) {
1209
+    if (!block->steps[E_AXIS] || (!block->steps[X_AXIS] && !block->steps[Y_AXIS]) || stepper.get_advance_k() == 0 || (uint32_t) block->steps[E_AXIS] == block->step_event_count) {
1210
       block->use_advance_lead = false;
1210
       block->use_advance_lead = false;
1211
     }
1211
     }
1212
     else {
1212
     else {

Loading…
Cancel
Save