Fixed bug with readInt32 function

This commit is contained in:
2025-05-15 12:03:06 +02:00
parent 61335970ce
commit 4b0031c3af
2 changed files with 11 additions and 1 deletions

View File

@ -468,7 +468,8 @@ asynStatus masterMacsController::parseResponse(
return asynSuccess; return asynSuccess;
} }
asynStatus sinqController::readInt32(asynUser *pasynUser, epicsInt32 *value) { asynStatus masterMacsController::readInt32(asynUser *pasynUser,
epicsInt32 *value) {
// masterMacs can be disabled // masterMacs can be disabled
if (pasynUser->reason == motorCanDisable_) { if (pasynUser->reason == motorCanDisable_) {
*value = 1; *value = 1;

View File

@ -31,6 +31,15 @@ class masterMacsController : public sinqController {
int numAxes, double movingPollPeriod, int numAxes, double movingPollPeriod,
double idlePollPeriod, double comTimeout); double idlePollPeriod, double comTimeout);
/**
* @brief Overloaded version of the sinqController version
*
* @param pasynUser
* @param value
* @return asynStatus
*/
asynStatus readInt32(asynUser *pasynUser, epicsInt32 *value);
/** /**
* @brief Get the axis object * @brief Get the axis object
* *