- Command line termination simplification has made the initialization string function argument in motor_start_trans_com() obsolete.

- Removed command line termination character argument from motor_end_trans_com().  Command line termination character processing moved to send_mess().
This commit is contained in:
Ron Sluiter
2000-07-14 20:24:20 +00:00
parent ea686b1276
commit ea1f18abd6
+4 -4
View File
@@ -2,9 +2,9 @@
FILENAME... devOms58.c
USAGE... Motor record device level support for OMS VME58.
Version: $Revision: 1.1 $
Version: $Revision: 1.2 $
Modified By: $Author: sluiter $
Last Modified: $Date: 2000-02-08 22:19:01 $
Last Modified: $Date: 2000-07-14 20:24:20 $
*/
/*
@@ -114,7 +114,7 @@ STATIC long oms_start_trans(struct motorRecord *mr)
struct motor_trans *trans;
long rtnval;
rtnval = motor_start_trans_com(mr, oms_cards, ADDRESS);
rtnval = motor_start_trans_com(mr, oms_cards);
/* Initialize a STOP_AXIS command termination string pointer. */
trans = (struct motor_trans *) mr->dpvt;
trans->motor_call.termstring = " ID";
@@ -129,7 +129,7 @@ STATIC long oms_end_trans(struct motorRecord *mr)
return(ERROR);
}
else
return(motor_end_trans_com(mr, &oms58_access, "\r"));
return(motor_end_trans_com(mr, &oms58_access));
}