Commit 51ebc182 authored by 李秉薇's avatar 李秉薇

fix:39981

parent 21b5c5f2
......@@ -1712,7 +1712,7 @@ void UDS_Service_28_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t
{
UDS_ISO14229_Transfer[i] = * ( A_Data + i );
}
//只支持0x03参数
switch(UDS_ISO14229_Transfer[0])
{
......@@ -1751,8 +1751,8 @@ void UDS_Service_28_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t
//请求超出范围,返回31负反馈
else
{
// if(FunorPhy == DIAG_ID_Rx_FUN )
// return ;
if(FunorPhy == DIAG_ID_Rx_FUN )
return ;
NegRes.code = requestOutOfRange ;
UDS_Service_Response(0x28, NEGATIVE_RSP, DIAG_ID_Tx, 1, ( uint8_t * ) ( &NegRes.code ));
break;
......@@ -1792,8 +1792,8 @@ void UDS_Service_28_Indication ( uint32_t A_TA_type, uint16_t A_Length, uint8_t
else
{
// if(FunorPhy == DIAG_ID_Rx_FUN )
// return ;
if(FunorPhy == DIAG_ID_Rx_FUN )
return ;
NegRes.code = requestOutOfRange ;
UDS_Service_Response(0x28, NEGATIVE_RSP, DIAG_ID_Tx, 1, ( uint8_t * ) ( &NegRes.code ));
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment