--- a/motorApp/ImsSrc/ImsMDrivePlusMotorController.h +++ b/motorApp/ImsSrc/ImsMDrivePlusMotorController.h @@ -19,7 +19,7 @@ ///////////////////////////////////////// // Override asynMotorController functions ///////////////////////////////////////// - ImsMDrivePlusMotorController(const char *motorPortName, const char *IOPortName, const char *deviceName, double movingPollPeriod, double idlePollPeriod, int homeSwitchIndex); + ImsMDrivePlusMotorController(const char *motorPortName, const char *IOPortName, const char *deviceName, double movingPollPeriod, double idlePollPeriod); ImsMDrivePlusMotorAxis* getAxis(asynUser *pasynUser); ImsMDrivePlusMotorAxis* getAxis(int axisNo); //void report(FILE *fp, int level); @@ -61,10 +61,7 @@ int posLimitSwitchInput; int negLimitSwitchInput; - // added for defining Home Switch or Index - int homeSwIn; - - void initController(const char *devName, double movingPollPeriod, double idlePollPeriod, int homeSwitchIndex); + void initController(const char *devName, double movingPollPeriod, double idlePollPeriod); int readHomeAndLimitConfig(); // read home, positive limit, and neg limit switch configuration from controller (S1-S4 settings) friend class ImsMDrivePlusMotorAxis;