Merge pull request #8878 from tcm0116/2.0.x_revert
[2.0.x] Revert "Followup to #8698"
This commit is contained in:
commit
2b0165e90c
1 changed files with 3 additions and 0 deletions
|
@ -1076,6 +1076,9 @@ void Planner::_buffer_steps(const int32_t (&target)[XYZE], float fr_mm_s, const
|
||||||
CRITICAL_SECTION_END
|
CRITICAL_SECTION_END
|
||||||
#endif
|
#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)
|
#if ENABLED(FILAMENT_WIDTH_SENSOR)
|
||||||
static float filwidth_e_count = 0, filwidth_delay_dist = 0;
|
static float filwidth_e_count = 0, filwidth_delay_dist = 0;
|
||||||
|
|
||||||
|
|
Reference in a new issue