Improve mc_arc() parameters

- Make the mc_arc() function declaration consistent with the definition
- isclockwise is supposed to be bool type, given how it is used.
This commit is contained in:
Guðni Már Gilbert 2021-06-24 17:20:55 +00:00 committed by DRracer
parent 538ce06bf0
commit eb9c8c8c20
4 changed files with 5 additions and 5 deletions

View file

@ -9751,7 +9751,7 @@ void prepare_move()
set_current_to_destination();
}
void prepare_arc_move(char isclockwise) {
void prepare_arc_move(bool isclockwise) {
float r = hypot(offset[X_AXIS], offset[Y_AXIS]); // Compute arc radius for mc_arc
// Trace the arc