From cdf9a0ca32b84e4a0e0d21f78aa9babd9f13922c Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Wed, 6 Oct 2010 19:54:06 +0000 Subject: [PATCH] MR's bug fix for deferred moves broken. --- motorApp/MotorSimSrc/drvMotorSim.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/motorApp/MotorSimSrc/drvMotorSim.c b/motorApp/MotorSimSrc/drvMotorSim.c index 6c03d200..8a80e71d 100644 --- a/motorApp/MotorSimSrc/drvMotorSim.c +++ b/motorApp/MotorSimSrc/drvMotorSim.c @@ -20,6 +20,7 @@ Last Modified: $Date: 2009-06-18 19:38:20 $ * (motorAxisHome, motorAxisMove, motorAxisVelocityMove) and * force a status update with a call to callCallback(). * - Matthew Pearson added deferred move support. + * 2010-10-05 rls - MP's fix for deferred moves broken in drvMotorSim. * */ @@ -416,7 +417,11 @@ static int motorAxisSetInteger( AXIS_HDL pAxis, motorAxisParam_t function, int v } if (status != MOTOR_AXIS_ERROR ) + { status = motorParam->setInteger( pAxis->params, function, value ); + motorParam->callCallback(pAxis->params); + } + epicsMutexUnlock(pAxis->axisMutex); } return (status); }