Browse Source

Revert "Followup to #8698"

This reverts commit 4e891e9fb7.
Thomas Moore 6 years ago
parent
commit
2917d1217d
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      Marlin/src/module/planner.cpp

+ 3
- 0
Marlin/src/module/planner.cpp View File

@@ -1076,6 +1076,9 @@ void Planner::_buffer_steps(const int32_t (&target)[XYZE], float fr_mm_s, const
1076 1076
     CRITICAL_SECTION_END
1077 1077
   #endif
1078 1078
 
1079
+  block->nominal_speed = block->millimeters * inverse_secs;           //   (mm/sec) Always > 0
1080
+  block->nominal_rate = CEIL(block->step_event_count * inverse_secs); // (step/sec) Always > 0
1081
+
1079 1082
   #if ENABLED(FILAMENT_WIDTH_SENSOR)
1080 1083
     static float filwidth_e_count = 0, filwidth_delay_dist = 0;
1081 1084
 

Loading…
Cancel
Save