Commit b4f669b2 authored by 陈家乐's avatar 陈家乐

🐞 fix:52329 里程自检时,数值显示不正确。简化CAN报文发送判断条件

parent 0f52d6bc
...@@ -341,7 +341,7 @@ uint8_t COM_APP_Process(st_CAN_Msg *Msg) ...@@ -341,7 +341,7 @@ uint8_t COM_APP_Process(st_CAN_Msg *Msg)
break; break;
case 0x450: case 0x450:
if(Can_341_Flg == 1 || Common_GetIgnOnTime() > 2000) //if(Can_341_Flg == 1 || Common_GetIgnOnTime() > 2000)
{ {
CAN_result = CAN_Transmit(CAN0MSG13, &CAN_SendMsg); CAN_result = CAN_Transmit(CAN0MSG13, &CAN_SendMsg);
} }
...@@ -360,7 +360,7 @@ uint8_t COM_APP_Process(st_CAN_Msg *Msg) ...@@ -360,7 +360,7 @@ uint8_t COM_APP_Process(st_CAN_Msg *Msg)
break; break;
#if (IC_Current == TY200_080000b_ty) #if (IC_Current == TY200_080000b_ty)
case 0x580: case 0x580:
if(Get_Tpms_TX_Flag() == 1 || Get_Tpms_TX_Flag() == 2) if(Get_Tpms_TX_Flag() != 0 )
{ {
CAN_result = CAN_Transmit(CAN0MSG14, &CAN_SendMsg); CAN_result = CAN_Transmit(CAN0MSG14, &CAN_SendMsg);
} }
......
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