From 99833bfd7e952d441e11285ea26863e08c346ad9 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Mon, 25 Feb 2002 17:49:05 +0000 Subject: [PATCH] Bug fix for invalid OMS commands; prefix space character to the PREM field in oms_build_trans(). --- motorApp/OmsSrc/devOmsCom.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/motorApp/OmsSrc/devOmsCom.c b/motorApp/OmsSrc/devOmsCom.c index d9279c82..f9b95c4b 100644 --- a/motorApp/OmsSrc/devOmsCom.c +++ b/motorApp/OmsSrc/devOmsCom.c @@ -2,9 +2,9 @@ FILENAME... devOmsCom.c USAGE... Data and functions common to all OMS device level support. -Version: $Revision: 1.4 $ +Version: $Revision: 1.5 $ Modified By: $Author: sluiter $ -Last Modified: $Date: 2001-05-14 20:50:54 $ +Last Modified: $Date: 2002-02-25 17:49:05 $ */ /* @@ -255,6 +255,7 @@ long oms_build_trans(motor_cmnd command, double *parms, struct motorRecord *mr) { if (strlen(mr->prem) != 0) { + strcat(motor_call->message, " "); strcat(motor_call->message, mr->prem); strcat(motor_call->message, " "); }