diff --git a/motorApp/MotorSrc/asynMotorDriver.cpp b/motorApp/MotorSrc/asynMotorDriver.cpp index b8bbd0da..6c94e36d 100644 --- a/motorApp/MotorSrc/asynMotorDriver.cpp +++ b/motorApp/MotorSrc/asynMotorDriver.cpp @@ -122,7 +122,7 @@ asynStatus asynMotorDriver::writeInt32(asynUser *pasynUser, epicsInt32 value) /* Set the parameter and readback in the parameter library. This may be overwritten when we read back the * status at the end, but that's OK */ - status = setDoubleParam(axis, function, value); + status = setIntegerParam(axis, function, value); if (function == motorStop) { getDoubleParam(axis, motorAccel, &accel);