From 387057ca3dd7598b15c2add2de398f3f5cbdf3a1 Mon Sep 17 00:00:00 2001 From: Peter Denison Date: Fri, 23 Nov 2007 13:47:00 +0000 Subject: [PATCH] Add some missing status returns to avoid spurious error messages --- motorApp/MotorSrc/drvMotorAsyn.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/motorApp/MotorSrc/drvMotorAsyn.c b/motorApp/MotorSrc/drvMotorAsyn.c index eb6ac8a4..28b8abc0 100644 --- a/motorApp/MotorSrc/drvMotorAsyn.c +++ b/motorApp/MotorSrc/drvMotorAsyn.c @@ -19,9 +19,9 @@ * of this distribution. * ************************************************************************ * - * Version: $Revision: 1.16 $ - * Modified by: $Author: rivers $ - * Last Modified: $Date: 2007-04-23 20:29:20 $ + * Version: $Revision: 1.17 $ + * Modified by: $Author: peterd $ + * Last Modified: $Date: 2007-11-23 13:47:00 $ * * Original Author: Peter Denison * Current Author: Peter Denison @@ -563,12 +563,15 @@ static asynStatus writeFloat64(void *drvPvt, asynUser *pasynUser, break; case motorVelocity: pAxis->max_velocity = value; + status = asynSuccess; break; case motorVelBase: pAxis->min_velocity = value; + status = asynSuccess; break; case motorAccel: pAxis->accel = value; + status = asynSuccess; break; case motorPosition: case motorResolution: