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:
parent
538ce06bf0
commit
eb9c8c8c20
4 changed files with 5 additions and 5 deletions
Firmware
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue