]> rtime.felk.cvut.cz Git - arc.git/commitdiff
Added const deklaration of CanTp pointers.
authorpete <devnull@localhost>
Mon, 19 Apr 2010 16:34:37 +0000 (18:34 +0200)
committerpete <devnull@localhost>
Mon, 19 Apr 2010 16:34:37 +0000 (18:34 +0200)
include/CanTp_Types.h

index 265fb391b552f1db7bdd2a968a4a910997b13927..d508b659c0ab8e78e07c48013acdc0a44475fdbc 100644 (file)
@@ -91,8 +91,8 @@ typedef struct {
        const uint8 CanTpWftMax; /** req: CanTp251: Max number FC wait that can be transmitted consecutively. */\r
        const uint32 CanTpSTmin; /** req: CanTp252: Minimum time the sender shall wait between transmissions of two N-PDU. */\r
        /*const uint32                                                  CanTpNSduRef ** req: CanTp241. This is PDU id - typeless enum. */\r
-       CanTp_NSaType *CanTpNSa;\r
-       CanTp_NTaType *CanTpNTa;\r
+       const CanTp_NSaType *CanTpNSa;\r
+       const CanTp_NTaType *CanTpNTa;\r
        //CanTp_RxNPduType *CanTpRxNPdu;\r
        //CanTp_TxFcNPduType *CanTpTxFcNPdu;\r
        //const PduIdType CanTpRxPduId;\r
@@ -112,8 +112,8 @@ typedef struct {
        CanTp_StateType CanTpTxPaddingActivation; /** req: CanTp249: Enable use of padding. */\r
        CanTp_TaTypeType CanTpTxTaType; /** req: CanTp270: Functional or physical addressing. */\r
        /*const uint32                                          CanTpNSduRef ** req: CanTp261. This is PDU id - typeless enum. */\r
-       CanTp_NSaType *CanTpNSa;\r
-       CanTp_NTaType *CanTpNTa;\r
+       const CanTp_NSaType *CanTpNSa;\r
+       const CanTp_NTaType *CanTpNTa;\r
        //CanTp_RxFcNPduType *CanTpRxFcNPdu;\r
        //CanTp_TxNPduType *CanTpTxNPdu;\r
        //PduIdType CanTpTxPduId;\r