From 825d4baf9043e3f59055449483588b1832c084f2 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 12 Mar 2025 01:03:23 -0400 Subject: 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 --- src/stepper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stepper.c') 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 -- cgit v1.2.3-70-g09d2