diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-06-13 11:53:10 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-06-13 11:53:10 -0400 |
commit | c60e4aceed8d71750fc297cdb8f6cd703b10b8ac (patch) | |
tree | 402f6f55177714b633729d9c3d35ca7163a229a9 /src/stepper.c | |
parent | 156de2e4c2e59c6ce122918abbaadfc583eef444 (diff) | |
download | kutter-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>
Diffstat (limited to 'src/stepper.c')
-rw-r--r-- | src/stepper.c | 2 |
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 |