From 4b67929440418aa547f82c426df8fbe04a0dfdf8 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Thu, 31 Oct 2002 20:43:05 +0000 Subject: [PATCH] - Change driver_table function return values. - Delete #ifndef __cplusplus conditionials. --- motorApp/MotorSrc/motordrvCom.h | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/motorApp/MotorSrc/motordrvCom.h b/motorApp/MotorSrc/motordrvCom.h index 2720faf0..455632d7 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.8 $ +Version: $Revision: 1.9 $ Modified By: $Author: sluiter $ -Last Modified: $Date: 2002-10-21 21:08:10 $ +Last Modified: $Date: 2002-10-31 20:43:05 $ */ /* @@ -65,10 +65,6 @@ enum CommStatus COMM_ERR /* Communication timeout error. */ }; -#ifndef __cplusplus -typedef enum PortType PortType; -typedef enum CommStatus CommStatus; -#endif /* Valid message types for the driver. The order is of importance; 0 is @@ -85,9 +81,6 @@ enum msg_types { INFO /* get curr motor/encoder pos and stat */ }; -#ifndef __cplusplus -typedef enum msg_types msg_types; -#endif /* Macros used to set/clear bits in any_motor_in_motion variable. */ #define SET_MM_ON(v,a) v|=(1<