Copy resolution back into cntrl, it could have changed

This commit is contained in:
MarkRivers
2004-07-28 21:40:07 +00:00
parent 4be8b77a6c
commit a5bf12cc29
+1
View File
@@ -213,6 +213,7 @@ STATIC RTN_STATUS XPSC8_build_trans(motor_cmnd command, double *parms, struct mo
control = (struct XPSC8controller *) brdptr->DevicePrivate;
cntrl = (struct XPSC8axis *)&control->axis[signal];
cntrl->resolution = mr->mres; /* Read in the motor resolution */
resolution = cntrl->resolution;
steps = resolution * dval;