Update planner.cpp

This commit is contained in:
InsanityAutomation
2024-05-28 11:15:33 -04:00
parent 62008024cd
commit 7c6dfc4ec2
-1
View File
@@ -804,7 +804,6 @@ void Planner::calculate_trapezoid_for_block(block_t * const block, const_float_t
NOLESS(block->nominal_rate, MINIMAL_STEP_RATE);
NOMORE(initial_rate, block->nominal_rate); // NOTE: The nominal rate may be less than MINIMAL_STEP_RATE!
NOMORE(final_rate, block->nominal_rate);
if (exit_factor < 1.0f) final_rate *= exit_factor;
#if ANY(S_CURVE_ACCELERATION, LIN_ADVANCE)
// If we have some plateau time, the cruise rate will be the nominal rate