From c1a3aef8fd8a4a122cff0215a454a9df38d739eb Mon Sep 17 00:00:00 2001 From: MarkRivers Date: Thu, 1 Mar 2012 19:39:19 +0000 Subject: [PATCH] Changed spelling of motorXGain and motorClosedLoop parameters --- motorApp/MotorSrc/drvMotorAsyn.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/motorApp/MotorSrc/drvMotorAsyn.c b/motorApp/MotorSrc/drvMotorAsyn.c index b59241f7..fb5b53b5 100644 --- a/motorApp/MotorSrc/drvMotorAsyn.c +++ b/motorApp/MotorSrc/drvMotorAsyn.c @@ -81,9 +81,9 @@ typedef enum { motorPosition = motorAxisPosition, motorEncRatio = motorAxisEncoderRatio, motorResolution = motorAxisResolution, - motorPgain = motorAxisPGain, - motorIgain = motorAxisIGain, - motorDgain = motorAxisDGain, + motorPGain = motorAxisPGain, + motorIGain = motorAxisIGain, + motorDGain = motorAxisDGain, motorHighLimit = motorAxisHighLimit, motorLowLimit = motorAxisLowLimit, motorSetClosedLoop = motorAxisClosedLoop, @@ -123,13 +123,13 @@ static motorCommandStruct motorCommands[] = { {motorEncoderPosition, motorEncoderPositionString}, {motorDeferMoves, motorDeferMovesString}, {motorResolution, motorResolutionString}, - {motorEncRatio, motorEncRatioString}, - {motorPgain, motorPgainString}, - {motorIgain, motorIgainString}, - {motorDgain, motorDgainString}, + {motorEncRatio, motorEncoderRatioString}, + {motorPGain, motorPGainString}, + {motorIGain, motorIGainString}, + {motorDGain, motorDGainString}, {motorHighLimit, motorHighLimitString}, {motorLowLimit, motorLowLimitString}, - {motorSetClosedLoop, motorSetClosedLoopString}, + {motorSetClosedLoop, motorClosedLoopString}, {motorDeferMoves, motorDeferMovesString}, {motorMoveToHome, motorMoveToHomeString}, {motorStatus, motorStatusString}, @@ -738,9 +738,9 @@ static asynStatus writeFloat64(void *drvPvt, asynUser *pasynUser, case motorPosition: case motorResolution: case motorEncRatio: - case motorPgain: - case motorIgain: - case motorDgain: + case motorPGain: + case motorIGain: + case motorDGain: case motorHighLimit: case motorLowLimit: default: