revert the one-shot change
This commit is contained in:
@@ -2548,7 +2548,6 @@ static void DMCState_Moving(pDMC2280Driv self, pEvtEvent event) {
|
||||
SICSLogWrite(line, eStatus);
|
||||
}
|
||||
set_lastMotion(self, self->currSteps, self->currCounts);
|
||||
self->preseek = 2; /* special one-shot */
|
||||
absolute = motCreep(self, target);
|
||||
}
|
||||
}
|
||||
@@ -2588,8 +2587,6 @@ static void DMCState_Moving(pDMC2280Driv self, pEvtEvent event) {
|
||||
}
|
||||
cmdPosition(self, absolute);
|
||||
self->subState = 3;
|
||||
if (self->preseek == 2) /* change of direction */
|
||||
self->preseek = 0; /* don't do it again */
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user