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
     CRITICAL_SECTION_END
1076
     CRITICAL_SECTION_END
1077
   #endif
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
   #if ENABLED(FILAMENT_WIDTH_SENSOR)
1082
   #if ENABLED(FILAMENT_WIDTH_SENSOR)
1080
     static float filwidth_e_count = 0, filwidth_delay_dist = 0;
1083
     static float filwidth_e_count = 0, filwidth_delay_dist = 0;
1081
 
1084
 

Loading…
Cancel
Save