From c60e4aceed8d71750fc297cdb8f6cd703b10b8ac Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 13 Jun 2017 11:53:10 -0400 Subject: [PATCH] stepper: Increase the step delay time from 1us to 2us Increase the step delay time so that it works with the common DRV8825 stepper drivers. Signed-off-by: Kevin O'Connor --- src/stepper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stepper.c b/src/stepper.c index 09c615a29..adf9c390a 100644 --- a/src/stepper.c +++ b/src/stepper.c @@ -94,7 +94,7 @@ stepper_load_next(struct stepper *s) return SF_RESCHEDULE; } -#define UNSTEP_TIME timer_from_us(1) +#define UNSTEP_TIME timer_from_us(2) // Timer callback - step the given stepper. uint_fast8_t