]> rtime.felk.cvut.cz Git - arc.git/commitdiff
Readability improvements in dcm.
authorpete <devnull@localhost>
Fri, 30 Apr 2010 09:59:52 +0000 (11:59 +0200)
committerpete <devnull@localhost>
Fri, 30 Apr 2010 09:59:52 +0000 (11:59 +0200)
diagnostic/Dcm/Dcm_Dsl.c
diagnostic/Dcm/Dcm_Lcfg.h

index 08de80a7a096a04764ffe256a1159feab7569bf0..84b3dbc2551e3229c0a80efd4c91ba5d488dfb62 100644 (file)
@@ -22,7 +22,7 @@
 #include "ComM_Dcm.h"\r
 #include "PduR_Dcm.h"\r
 #include "ComStack_Types.h"\r
-#define USE_DEBUG_PRINTF\r
+//#define USE_DEBUG_PRINTF\r
 #include "debug.h"\r
 \r
 #define DECREMENT(timer) { if (timer > 0) timer--; }\r
index 11fc9d8990efeb5c5c9c5ab9925d33e4ae290159..4d68ce768130411d1f576e69ae7c8d60e7632ddb 100644 (file)
@@ -160,24 +160,24 @@ typedef struct {
 
 // 10.2.22
 typedef struct _Dcm_DspDidType {
-       boolean DspDidUsePort; // (1)
-       uint16 DspDidIdentifier; // (1)
-       uint16 DspDidSize; // (1)
-       const Dcm_DspDidInfoType *DspDidInfoRef; // (1)
-       const struct _Dcm_DspDidType **DspDidRef; // (0..*)
-       Dcm_CallbackReadDataLengthFncType DspDidReadDataLengthFnc;              // (0..1)
-       Dcm_CallbackConditionCheckReadFncType DspDidConditionCheckReadFnc; // (0..1)
-       Dcm_CallbackReadDataFncType DspDidReadDataFnc; // (0..1)
-       Dcm_CallbackConditionCheckWriteFncType DspDidConditionCheckWriteFnc; // (0..1)
-       Dcm_CallbackWriteDataFncType DspDidWriteDataFnc; // (0..1)
-       Dcm_CallbackGetScalingInformationFncType DspDidGetScalingInfoFnc; // (0..1)
-       Dcm_CallbackFreezeCurrentStateFncType DspDidFreezeCurrentStateFnc; // (0..1)
-       Dcm_CallbackResetToDefaultFncType DspDidResetToDeaultFnc; // (0..1)
-       Dcm_CallbackReturnControlToECUFncType DspDidReturnControlToEcuFnc; // (0..1)
-       Dcm_CallbackShortTermAdjustmentFncType DspDidShortTermAdjustmentFnc; // (0..1)
+       boolean                                                                         DspDidUsePort;                                  // (1)
+       uint16                                                                          DspDidIdentifier;                               // (1)
+       const Dcm_DspDidInfoType                                        *DspDidInfoRef;                                 // (1)
+       const struct _Dcm_DspDidType                            **DspDidRef;                                    // (0..*)
+       uint16                                                                          DspDidSize;                                             // (1)
+       Dcm_CallbackReadDataLengthFncType                       DspDidReadDataLengthFnc;                // (0..1)
+       Dcm_CallbackConditionCheckReadFncType           DspDidConditionCheckReadFnc;    // (0..1)
+       Dcm_CallbackReadDataFncType                                     DspDidReadDataFnc;                              // (0..1)
+       Dcm_CallbackConditionCheckWriteFncType          DspDidConditionCheckWriteFnc;   // (0..1)
+       Dcm_CallbackWriteDataFncType                            DspDidWriteDataFnc;                             // (0..1)
+       Dcm_CallbackGetScalingInformationFncType        DspDidGetScalingInfoFnc;                // (0..1)
+       Dcm_CallbackFreezeCurrentStateFncType           DspDidFreezeCurrentStateFnc;    // (0..1)
+       Dcm_CallbackResetToDefaultFncType                       DspDidResetToDeaultFnc;                 // (0..1)
+       Dcm_CallbackReturnControlToECUFncType           DspDidReturnControlToEcuFnc;    // (0..1)
+       Dcm_CallbackShortTermAdjustmentFncType          DspDidShortTermAdjustmentFnc;   // (0..1)
        // Containers
-       const Dcm_DspDidControlRecordSizesType *DspDidControlRecordSize; // (0..*)
-       boolean Arc_EOL;
+       const Dcm_DspDidControlRecordSizesType          *DspDidControlRecordSize;               // (0..*)
+       boolean                                                                         Arc_EOL;
 } Dcm_DspDidType;
 
 // 10.2.30