forked from epics_driver_modules/motorBase
Fixed problem with dividing poll rates by 1000 twice; removed copy of poll periods to object, that is already done in startPoller
This commit is contained in:
@@ -47,8 +47,6 @@ ACRController::ACRController(const char *portName, const char *ACRPortName, int
|
||||
ACRAxis *pAxis;
|
||||
static const char *functionName = "ACRController";
|
||||
|
||||
idlePollPeriod_ = idlePollPeriod;
|
||||
movingPollPeriod_ = movingPollPeriod;
|
||||
binaryInReg_ = 4096;
|
||||
binaryOutReg_ = 4097;
|
||||
|
||||
@@ -84,7 +82,7 @@ ACRController::ACRController(const char *portName, const char *ACRPortName, int
|
||||
pAxis = new ACRAxis(this, axis);
|
||||
}
|
||||
|
||||
startPoller(movingPollPeriod/1000., idlePollPeriod/1000., 2);
|
||||
startPoller(movingPollPeriod, idlePollPeriod, 2);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user