aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-06-13 11:53:10 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-06-13 11:53:10 -0400
commitc60e4aceed8d71750fc297cdb8f6cd703b10b8ac (patch)
tree402f6f55177714b633729d9c3d35ca7163a229a9
parent156de2e4c2e59c6ce122918abbaadfc583eef444 (diff)
downloadkutter-c60e4aceed8d71750fc297cdb8f6cd703b10b8ac.tar.gz
kutter-c60e4aceed8d71750fc297cdb8f6cd703b10b8ac.tar.xz
kutter-c60e4aceed8d71750fc297cdb8f6cd703b10b8ac.zip
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 <kevin@koconnor.net>
-rw-r--r--src/stepper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stepper.c b/src/stepper.c
index 09c615a2..adf9c390 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