Commit 60b40562 authored by 李冠华's avatar 李冠华

🐞 fix:修改从ACC OFF到ACC ON时,不重新自检的问题

parent a57f96a2
...@@ -136,12 +136,12 @@ void Common_Input_Para(void) ...@@ -136,12 +136,12 @@ void Common_Input_Para(void)
#else #else
if (Get_CAN_Power_State() == KEY_OFF) if (Get_CAN_Power_State() == KEY_OFF)
{ {
PowerIgnOnTimeLine = 0ul;
if (PowerIgnOffTimeLine < 0x7ffffffful) if (PowerIgnOffTimeLine < 0x7ffffffful)
{ {
PowerIgnOffTimeLine += 2u; PowerIgnOffTimeLine += 2u;
} }
} }
PowerIgnOnTimeLine = 0ul;
Common_Set_IG_Sts(COMMON_POWER_OFF); Common_Set_IG_Sts(COMMON_POWER_OFF);
Common_Set_IG_Sts_Valid(COMMON_Valid); Common_Set_IG_Sts_Valid(COMMON_Valid);
#endif #endif
......
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