From: john Date: Wed, 12 Sep 2012 11:44:44 +0000 (+0200) Subject: Fixed spelling errors to match with tool output. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/arc.git/commitdiff_plain/0b32356c956d0cc83d3ddd5c6abfd533afc95b45 Fixed spelling errors to match with tool output. --- diff --git a/diagnostic/Dcm/Dcm_Dsp.c b/diagnostic/Dcm/Dcm_Dsp.c index d790ce2c..7130251d 100644 --- a/diagnostic/Dcm/Dcm_Dsp.c +++ b/diagnostic/Dcm/Dcm_Dsp.c @@ -2809,7 +2809,7 @@ static Dcm_NegativeResponseCodeType DspIOControlResetToDefault(const Dcm_DspDidT { if(DidPtr->DspDidReturnControlToEcuFnc != NULL) { - DidPtr->DspDidResetToDeaultFnc(NULL,&pduRxData->SduDataPtr[4],&pduTxData->SduDataPtr[4],&responseCode); + DidPtr->DspDidResetToDefaultFnc(NULL,&pduRxData->SduDataPtr[4],&pduTxData->SduDataPtr[4],&responseCode); } else { @@ -2828,12 +2828,12 @@ static Dcm_NegativeResponseCodeType DspIOControlResetToDefault(const Dcm_DspDidT } else { - if(DidPtr->DspDidResetToDeaultFnc != NULL) + if(DidPtr->DspDidResetToDefaultFnc != NULL) { if(DidPtr->DspDidControlRecordSize != NULL) { - DidPtr->DspDidResetToDeaultFnc(NULL,NULL,&pduTxData->SduDataPtr[4],&responseCode); + DidPtr->DspDidResetToDefaultFnc(NULL,NULL,&pduTxData->SduDataPtr[4],&responseCode); pduTxData->SduLength = DidPtr->DspDidInfoRef->DspDidAccess.DspDidControl->DspDidResetToDefault->DspDidControlStatusRecordSize + 4; } else @@ -2922,7 +2922,7 @@ static Dcm_NegativeResponseCodeType DspIOControlShortTeamAdjustment(const Dcm_Ds { if(DidPtr->DspDidInfoRef->DspDidAccess.DspDidControl != NULL) { - if(((((DidPtr->DspDidInfoRef->DspDidAccess.DspDidControl->DspDidShortTermAdjustment->DspDidControlRecordSize + 7)) >> 3) + (didControlOptionRecordSize)) == (pduRxData->SduLength - 4)) + if(((((DidPtr->DspDidInfoRef->DspDidAccess.DspDidControl->DspDidShortTermAdjustment->DspDidControlEnableMaskRecordSize + 7)) >> 3) + (didControlOptionRecordSize)) == (pduRxData->SduLength - 4)) { if(DidPtr->DspDidShortTermAdjustmentFnc != NULL) { diff --git a/include/Dcm_Lcfg.h b/include/Dcm_Lcfg.h index 20579139..58a6d6d6 100644 --- a/include/Dcm_Lcfg.h +++ b/include/Dcm_Lcfg.h @@ -122,7 +122,7 @@ typedef struct { // 10.2.23 typedef struct { - uint8 DspDidControlRecordSize; // (1) + uint8 DspDidControlEnableMaskRecordSize; // (1) uint8 DspDidControlOptionRecordSize; // (1) uint8 DspDidControlStatusRecordSize; // (1) } Dcm_DspDidControlRecordSizesType; @@ -180,7 +180,7 @@ typedef struct Dcm_DspDidType { Dcm_CallbackWriteDataFncType DspDidWriteDataFnc; // (0..1) /** @req DCM670 */ Dcm_CallbackGetScalingInformationFncType DspDidGetScalingInfoFnc; // (0..1) /** @req DCM676 */ Dcm_CallbackFreezeCurrentStateFncType DspDidFreezeCurrentStateFnc; // (0..1) /** @req DCM674 */ - Dcm_CallbackResetToDefaultFncType DspDidResetToDeaultFnc; // (0..1) /** @req DCM673 */ + Dcm_CallbackResetToDefaultFncType DspDidResetToDefaultFnc; // (0..1) /** @req DCM673 */ Dcm_CallbackReturnControlToECUFncType DspDidReturnControlToEcuFnc; // (0..1) /** @req DCM672 */ Dcm_CallbackShortTermAdjustmentFncType DspDidShortTermAdjustmentFnc; // (0..1) /** @req DCM675 */ // Containers