From 2917d1217d41527ff7122bad57f57cc04f5c3c21 Mon Sep 17 00:00:00 2001 From: Thomas Moore Date: Sat, 23 Dec 2017 17:00:33 -0600 Subject: [PATCH] Revert "Followup to #8698" This reverts commit 4e891e9fb7af63f1cf8691e0d6810b414d574e45. --- Marlin/src/module/planner.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Marlin/src/module/planner.cpp b/Marlin/src/module/planner.cpp index d17b5535c2..90dfaf8476 100644 --- a/Marlin/src/module/planner.cpp +++ b/Marlin/src/module/planner.cpp @@ -1076,6 +1076,9 @@ void Planner::_buffer_steps(const int32_t (&target)[XYZE], float fr_mm_s, const CRITICAL_SECTION_END #endif + block->nominal_speed = block->millimeters * inverse_secs; // (mm/sec) Always > 0 + block->nominal_rate = CEIL(block->step_event_count * inverse_secs); // (step/sec) Always > 0 + #if ENABLED(FILAMENT_WIDTH_SENSOR) static float filwidth_e_count = 0, filwidth_delay_dist = 0;