From 96b734124561dcf1b87fd083d7d71476c00eb924 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Wed, 25 Jun 2003 16:46:23 +0000 Subject: [PATCH] Merged R3_13_branch changes; Changed hardcoded 50 to MAX_IDENT_LEN = 100. --- motorApp/MotorSrc/motordrvCom.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/motorApp/MotorSrc/motordrvCom.h b/motorApp/MotorSrc/motordrvCom.h index 455632d7..77e813df 100644 --- a/motorApp/MotorSrc/motordrvCom.h +++ b/motorApp/MotorSrc/motordrvCom.h @@ -4,9 +4,9 @@ FILENAME... motordrvCom.h USAGE... This file contains definitions and structures that are common to all motor record driver support modules. -Version: $Revision: 1.9 $ +Version: $Revision: 1.10 $ Modified By: $Author: sluiter $ -Last Modified: $Date: 2002-10-31 20:43:05 $ +Last Modified: $Date: 2003-06-25 16:46:23 $ */ /* @@ -49,6 +49,7 @@ Last Modified: $Date: 2002-10-31 20:43:05 $ #include #include +#define MAX_IDENT_LEN 100 /* Controller communication port type, followed by status. */ enum PortType @@ -170,7 +171,7 @@ struct mess_info struct controller /* Controller board information. */ { int motor_in_motion;/* count of motors in motion */ - char ident[50]; /* identification string for this card */ + char ident[MAX_IDENT_LEN]; /* identification string for this card */ int total_axis; /* total axis on this card */ char *localaddr; /* address of this card */ bool cmnd_response; /* Indicates controller communication response