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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user