Syntax cleanup
This commit is contained in:
parent
b47fd31c37
commit
79d42d87c1
1 changed files with 9 additions and 8 deletions
|
@ -1256,6 +1256,7 @@ void Planner::_buffer_line(const float &a, const float &b, const float &c, const
|
|||
v_exit *= v_factor;
|
||||
v_entry *= v_factor;
|
||||
}
|
||||
|
||||
// Calculate jerk depending on whether the axis is coasting in the same direction or reversing.
|
||||
const float jerk = (v_exit > v_entry)
|
||||
? // coasting axis reversal
|
||||
|
|
Reference in a new issue