]> rtime.felk.cvut.cz Git - arc.git/blobdiff - include/PduR_CanTp.h
Starting 'pdur2' branch with copied content from remote repository.
[arc.git] / include / PduR_CanTp.h
index eadd6a26504ae0a8999ee41189c4ef45a2bdfd2b..8920f7bf39bc50e799075c3278e102a6e4726bb4 100644 (file)
 \r
 #include "PduR.h"\r
 \r
-#if (PDUR_ZERO_COST_OPERATION == STD_OFF)\r
+#if PDUR_ZERO_COST_OPERATION == STD_OFF\r
 \r
-               BufReq_ReturnType PduR_CanTpProvideRxBuffer(PduIdType CanTpRxPduId, PduLengthType TpSduLength, PduInfoType** PduInfoPtr);\r
-               void PduR_CanTpRxIndication(PduIdType CanTpRxPduId, NotifResultType Result);\r
-               BufReq_ReturnType PduR_CanTpProvideTxBuffer(PduIdType CanTpTxPduId, PduInfoType** PduInfoPtr, uint16 Length);\r
-               void PduR_CanTpTxConfirmation(PduIdType CanTpTxPduId, NotifResultType Result);\r
+BufReq_ReturnType PduR_CanTpProvideRxBuffer(PduIdType CanTpRxPduId, PduLengthType TpSduLength, PduInfoType** PduInfoPtr);\r
+void PduR_CanTpRxIndication(PduIdType CanTpRxPduId, NotifResultType Result);\r
+BufReq_ReturnType PduR_CanTpProvideTxBuffer(PduIdType CanTpTxPduId, PduInfoType** PduInfoPtr, uint16 Length);\r
+void PduR_CanTpTxConfirmation(PduIdType CanTpTxPduId, NotifResultType Result);\r
 \r
-#else // Zero cost operation active\r
-\r
-       #if (PDUR_DCM_SUPPORT == STD_ON)\r
-\r
-               #include "Dcm_Cbk.h"\r
-\r
-               #define PduR_CanTpProvideRxBuffer Dcm_ProvideRxBuffer\r
-               #define PduR_CanTpRxIndication Dcm_RxIndication\r
-               #define PduR_CanTpProvideTxBuffer Dcm_ProvideTxBuffer\r
-               #define PduR_CanTpTxConfirmation Dcm_TxConfirmation\r
-\r
-       #else\r
-\r
-               #define PduR_CanTpProvideRxBuffer(...)\r
-               #define PduR_CanTpRxIndication(...)\r
-               #define PduR_CanTpProvideTxBuffer(...)\r
-               #define PduR_CanTpTxConfirmation(...)\r
-\r
-       #endif\r
-\r
-#endif // Zero cost operation active\r
+#endif\r
 \r
 #endif /* PDUR_CANTP_H_ */\r