Prototype for v0.2

This commit is contained in:
2024-12-04 13:39:36 +01:00
parent e967e65d33
commit 2e2c24238b
3 changed files with 14 additions and 27 deletions

View File

@@ -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;

View File

@@ -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
*