Syntax tweaks
This commit is contained in:
parent
d3165cca4f
commit
737cee4b8c
2 changed files with 9 additions and 6 deletions
|
|
@ -1123,7 +1123,7 @@ void Planner::_buffer_line(const float &a, const float &b, const float &c, const
|
|||
// Calculate and limit speed in mm/sec for each axis
|
||||
float current_speed[NUM_AXIS], speed_factor = 1.0; // factor <1 decreases speed
|
||||
LOOP_XYZE(i) {
|
||||
const float cs = FABS(current_speed[i] = delta_mm[i] * inverse_mm_s);
|
||||
const float cs = FABS((current_speed[i] = delta_mm[i] * inverse_mm_s));
|
||||
#if ENABLED(DISTINCT_E_FACTORS)
|
||||
if (i == E_AXIS) i += extruder;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue