summaryrefslogtreecommitdiff
path: root/Sprinter
diff options
context:
space:
mode:
Diffstat (limited to 'Sprinter')
-rw-r--r--Sprinter/arc_func.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Sprinter/arc_func.cpp b/Sprinter/arc_func.cpp
index 211d3dd..d088337 100644
--- a/Sprinter/arc_func.cpp
+++ b/Sprinter/arc_func.cpp
@@ -25,6 +25,7 @@
#include "Configuration.h"
#include "Sprinter.h"
+#ifdef USE_ARC_FUNCTION
// 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,
@@ -143,4 +144,4 @@ void mc_arc(float *position, float *target, float *offset, uint8_t axis_0, uint8
// plan_set_acceleration_manager_enabled(acceleration_manager_was_enabled);
}
-
+#endif