Make motor creep "single-step" one tenth steps-per-count
This commit is contained in:
@@ -681,7 +681,7 @@ static int motCreep(pDMC2280Driv self, double target) {
|
||||
* we have to "single step" otherwise we want to go half way
|
||||
*/
|
||||
if (offset <= fabs(self->stepsPerX / self->cntsPerX)) {
|
||||
offset = offset / DECADIC_CREEP;
|
||||
offset = fabs(self->stepsPerX / self->cntsPerX) / DECADIC_CREEP;
|
||||
if (offset < 1)
|
||||
offset = 1;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user