Added sleep to stop to make sure at least one poll happens and EPCIS knows the motor is moving
This commit is contained in:
@@ -863,7 +863,6 @@ asynStatus turboPmacAxis::stop(double acceleration) {
|
||||
done, this thread (which also runs move commands) is paused for twice the
|
||||
idle poll period.
|
||||
*/
|
||||
pC_->forcedFastPolls();
|
||||
unsigned int idlePollMicros =
|
||||
(unsigned int)ceil(pC_->idlePollPeriod() * 1e6);
|
||||
usleep(2 * idlePollMicros);
|
||||
|
||||
Reference in New Issue
Block a user