Commit b19aa33b authored by hu's avatar hu

调整工厂模式报文发送错误问题

parent 2da17dab
...@@ -748,7 +748,11 @@ void Id18FFE517_Send_Service(void) ...@@ -748,7 +748,11 @@ void Id18FFE517_Send_Service(void)
} }
else if ((bCurMenuIDX == _FAC_DSP_LEVEL1_2MENU_3) || (bCurMenuIDX == _DEA_DSP_LEVEL1_2MENU_3)) else if ((bCurMenuIDX == _FAC_DSP_LEVEL1_2MENU_3) || (bCurMenuIDX == _DEA_DSP_LEVEL1_2MENU_3))
{ {
Can_Msg_Tx_Overwrite(MSGID_18FFE517, 2u, 500 * 1000); if (Common_Get_LDWS_Flag_Sta() == 7u)
{
Can_Msg_Tx_Overwrite(MSGID_18FFE517, 2u, 500 * 1000);
Common_Set_LDWS_Flag_Sta(0);
}
} }
} }
......
...@@ -2117,6 +2117,8 @@ void LevelF1_2Menu_3Enter(void) ...@@ -2117,6 +2117,8 @@ void LevelF1_2Menu_3Enter(void)
canMag.Msg[7u] = 0x55u; canMag.Msg[7u] = 0x55u;
Can_Write(&canMag); Can_Write(&canMag);
Common_Set_LDWS_Flag_Sta(7);
} }
void LevelF1_2Menu_3Do(void) void LevelF1_2Menu_3Do(void)
{ {
...@@ -2407,6 +2409,7 @@ void LevelD1_2Menu_3Enter(void) ...@@ -2407,6 +2409,7 @@ void LevelD1_2Menu_3Enter(void)
canMag.Msg[7u] = 0x55u; canMag.Msg[7u] = 0x55u;
Can_Write(&canMag); Can_Write(&canMag);
Common_Set_LDWS_Flag_Sta(7u);
} }
void LevelD1_2Menu_3Do(void) void LevelD1_2Menu_3Do(void)
{ {
......
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