Prototype for v0.2
This commit is contained in:
@@ -405,16 +405,6 @@ asynStatus pmacv3Controller::writeRead(int axisNo, const char *command,
|
||||
return asynSuccess;
|
||||
}
|
||||
|
||||
asynStatus pmacv3Controller::readInt32(asynUser *pasynUser, epicsInt32 *value) {
|
||||
if (pasynUser->reason == motorCanDisable_) {
|
||||
// By default, motors cannot be disabled
|
||||
*value = 1;
|
||||
return asynSuccess;
|
||||
} else {
|
||||
return sinqController::readInt32(pasynUser, value);
|
||||
}
|
||||
}
|
||||
|
||||
asynStatus pmacv3Controller::writeInt32(asynUser *pasynUser, epicsInt32 value) {
|
||||
int function = pasynUser->reason;
|
||||
|
||||
|
||||
@@ -50,17 +50,6 @@ class pmacv3Controller : public sinqController {
|
||||
*/
|
||||
pmacv3Axis *getAxis(int axisNo);
|
||||
|
||||
/**
|
||||
* @brief Overloaded function of sinqController
|
||||
*
|
||||
* The function is overloaded to read the canDisable property.
|
||||
*
|
||||
* @param pasynUser Specify the axis via the asynUser
|
||||
* @param value Read-out value
|
||||
* @return asynStatus
|
||||
*/
|
||||
asynStatus readInt32(asynUser *pasynUser, epicsInt32 *value);
|
||||
|
||||
/**
|
||||
* @brief Overloaded function of sinqController
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user