aboutsummaryrefslogtreecommitdiffstats
path: root/src/stepper.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2025-03-12 01:03:23 -0400
committerKevin O'Connor <kevin@koconnor.net>2025-03-20 19:56:55 -0400
commit825d4baf9043e3f59055449483588b1832c084f2 (patch)
tree0615a18aa4ab1c6264195f32683722e826e172fa /src/stepper.c
parent8faed8d9fe113e0b7dc306d08c36986150550ca8 (diff)
downloadkutter-825d4baf9043e3f59055449483588b1832c084f2.tar.gz
kutter-825d4baf9043e3f59055449483588b1832c084f2.tar.xz
kutter-825d4baf9043e3f59055449483588b1832c084f2.zip
stepper: Support disabling optimized "step on both edges" in "make menuconfig"
Add a new "low level option" to allow users to configure if they want to optimize for Trinamic drivers or traditional stepper motor drivers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stepper.c')
-rw-r--r--src/stepper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stepper.c b/src/stepper.c
index f6f798c6..95c9a2f2 100644
--- a/src/stepper.c
+++ b/src/stepper.c
@@ -16,7 +16,7 @@
DECL_CONSTANT("STEPPER_STEP_BOTH_EDGE", 1);
-#if CONFIG_INLINE_STEPPER_HACK && CONFIG_HAVE_STEPPER_OPTIMIZED_BOTH_EDGE
+#if CONFIG_INLINE_STEPPER_HACK && CONFIG_WANT_STEPPER_OPTIMIZED_BOTH_EDGE
#define HAVE_OPTIMIZED_PATH 1
#define HAVE_EDGE_OPTIMIZATION 1
#define HAVE_AVR_OPTIMIZATION 0