forked from epics_driver_modules/motorBase
motor: XPS model 3 driver. modified the home function so that we can do a rehome from states 50 and 63.
This commit is contained in:
@@ -305,7 +305,7 @@ asynStatus XPSAxis::home(double min_velocity, double max_velocity, double accele
|
||||
}
|
||||
status = GroupStatusGet(pollSocket_, groupName_, &groupStatus);
|
||||
/* If axis not initialized, then initialize it */
|
||||
if (groupStatus >= 0 && groupStatus <= 9) {
|
||||
if ((groupStatus >= 0 && groupStatus <= 9) || (groupStatus == 50) || (groupStatus == 63)) {
|
||||
status = GroupInitialize(pollSocket_, groupName_);
|
||||
if (status) {
|
||||
asynPrint(pasynUser_, ASYN_TRACE_ERROR,
|
||||
|
||||
Reference in New Issue
Block a user