Browse Source

Tweak JD + Jerk limit

Scott Lahteine 5 years ago
parent
commit
c2d66a5df0
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/module/planner.cpp

+ 2
- 2
Marlin/src/module/planner.cpp View File

@@ -2497,9 +2497,9 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
2497 2497
     previous_safe_speed = safe_speed;
2498 2498
 
2499 2499
     #if HAS_JUNCTION_DEVIATION
2500
-      vmax_junction_sqr = _MIN(vmax_junction_sqr, sq(vmax_junction));
2500
+      NOMORE(vmax_junction_sqr, sq(vmax_junction));   // Throttle down to max speed
2501 2501
     #else
2502
-      vmax_junction_sqr = sq(vmax_junction);
2502
+      vmax_junction_sqr = sq(vmax_junction);          // Go up or down to the new speed
2503 2503
     #endif
2504 2504
 
2505 2505
   #endif // Classic Jerk Limiting

Loading…
Cancel
Save