Browse Source

Merge pull request #8878 from tcm0116/2.0.x_revert

[2.0.x] Revert "Followup to #8698"
pull/1/head
Scott Lahteine 7 years ago
committed by GitHub
parent
commit
2b0165e90c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Marlin/src/module/planner.cpp

3
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 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;

Loading…
Cancel
Save