Now compiles with warning flags for C++
This commit is contained in:
@@ -26,7 +26,8 @@ detectorTowerController::detectorTowerController(
|
||||
const char *portName, const char *ipPortConfigName, int numAxes,
|
||||
double movingPollPeriod, double idlePollPeriod, double comTimeout)
|
||||
: turboPmacController(portName, ipPortConfigName, numAxes, movingPollPeriod,
|
||||
idlePollPeriod, NUM_detectorTower_DRIVER_PARAMS)
|
||||
idlePollPeriod, comTimeout,
|
||||
NUM_detectorTower_DRIVER_PARAMS)
|
||||
|
||||
{
|
||||
|
||||
@@ -1005,7 +1006,8 @@ static const iocshArg *const CreateControllerArgs[] = {
|
||||
&CreateControllerArg0, &CreateControllerArg1, &CreateControllerArg2,
|
||||
&CreateControllerArg3, &CreateControllerArg4, &CreateControllerArg5};
|
||||
static const iocshFuncDef configDetectorTowerCreateController = {
|
||||
"detectorTowerController", 6, CreateControllerArgs};
|
||||
"detectorTowerController", 6, CreateControllerArgs,
|
||||
"Create a new instance of a detector tower controller."};
|
||||
static void
|
||||
configDetectorTowerCreateControllerCallFunc(const iocshArgBuf *args) {
|
||||
detectorTowerCreateController(args[0].sval, args[1].sval, args[2].ival,
|
||||
|
||||
Reference in New Issue
Block a user