Followup to MP_SCARA/TPARA patches (#21248)

This commit is contained in:
Tanguy Pruvot
2021-03-05 00:34:38 +01:00
committed by GitHub
parent 6903a2ffc5
commit a0d312396a
8 changed files with 74 additions and 53 deletions

View File

@ -763,7 +763,7 @@ FORCE_INLINE void segment_idle(millis_t &next_idle_ms) {
// The number of segments-per-second times the duration
// gives the number of segments
uint16_t segments = delta_segments_per_second * seconds;
uint16_t segments = segments_per_second * seconds;
// For SCARA enforce a minimum segment size
#if IS_SCARA