From abd24ac583c8487cedea20ddd3edd5d37b8e578e Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Sat, 30 Jan 2010 19:45:58 +0000 Subject: [PATCH] Fixed bug, changed setDoubleParam call to setIntegerParam --- motorApp/MotorSrc/asynMotorDriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);