From: maek Date: Sun, 20 Nov 2011 10:24:45 +0000 (+0100) Subject: Fix #1100 - com now compiles when using COM_DEV_ERROR_DETECT X-Git-Url: http://rtime.felk.cvut.cz/gitweb/arc.git/commitdiff_plain/45857a146f92c5464136152bd34a6075b2f27535 Fix #1100 - com now compiles when using COM_DEV_ERROR_DETECT --- diff --git a/communication/Com/Com_Com.c b/communication/Com/Com_Com.c index 640412b1..75123cd9 100644 --- a/communication/Com/Com_Com.c +++ b/communication/Com/Com_Com.c @@ -184,7 +184,7 @@ void Com_RxIndication(PduIdType ComRxPduId, const PduInfoType* PduInfoPtr) { } void Com_TpRxIndication(PduIdType PduId, NotifResultType Result) { - PDU_ID_CHECK(ComRxPduId, 0x14); + PDU_ID_CHECK(PduId, 0x14); const ComIPdu_type *IPdu = GET_IPdu(PduId); Com_Arc_IPdu_type *Arc_IPdu = GET_ArcIPdu(PduId); @@ -204,7 +204,7 @@ void Com_TpRxIndication(PduIdType PduId, NotifResultType Result) { } } void Com_TpTxConfirmation(PduIdType PduId, NotifResultType Result) { - PDU_ID_CHECK(ComTxPduId, 0x15); + PDU_ID_CHECK(PduId, 0x15); const ComIPdu_type *IPdu = GET_IPdu(PduId); imask_t state;