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
|
@ -26,7 +26,7 @@
|
|||
// The arc is approximated by generating a huge number of tiny, linear segments. The length of each
|
||||
// segment is configured in settings.mm_per_arc_segment.
|
||||
void mc_arc(float *position, float *target, float *offset, uint8_t axis_0, uint8_t axis_1,
|
||||
uint8_t axis_linear, float feed_rate, float radius, uint8_t isclockwise, uint8_t extruder)
|
||||
uint8_t axis_linear, float feed_rate, float radius, bool isclockwise, uint8_t extruder)
|
||||
{
|
||||
// int acceleration_manager_was_enabled = plan_is_acceleration_manager_enabled();
|
||||
// plan_set_acceleration_manager_enabled(false); // disable acceleration management for the duration of the arc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue