]> rtime.felk.cvut.cz Git - arc.git/commitdiff
Fix #1100 - com now compiles when using COM_DEV_ERROR_DETECT
authormaek <devnull@localhost>
Sun, 20 Nov 2011 10:24:45 +0000 (11:24 +0100)
committermaek <devnull@localhost>
Sun, 20 Nov 2011 10:24:45 +0000 (11:24 +0100)
communication/Com/Com_Com.c

index 640412b14d8492f07af2c3f137a81e002bde7dbf..75123cd9e545387d470c833a5b5a7b67a4188c0a 100644 (file)
@@ -184,7 +184,7 @@ void Com_RxIndication(PduIdType ComRxPduId, const PduInfoType* PduInfoPtr) {
 }\r
 \r
 void Com_TpRxIndication(PduIdType PduId, NotifResultType Result) {\r
-       PDU_ID_CHECK(ComRxPduId, 0x14);\r
+       PDU_ID_CHECK(PduId, 0x14);\r
 \r
        const ComIPdu_type *IPdu = GET_IPdu(PduId);\r
        Com_Arc_IPdu_type *Arc_IPdu = GET_ArcIPdu(PduId);\r
@@ -204,7 +204,7 @@ void Com_TpRxIndication(PduIdType PduId, NotifResultType Result) {
        }\r
 }\r
 void Com_TpTxConfirmation(PduIdType PduId, NotifResultType Result) {\r
-       PDU_ID_CHECK(ComTxPduId, 0x15);\r
+       PDU_ID_CHECK(PduId, 0x15);\r
        const ComIPdu_type *IPdu = GET_IPdu(PduId);\r
 \r
        imask_t state;\r