Commit adbda899 authored by 李冠华's avatar 李冠华

🐞 fix:修改IGN OFF下充电,偶发充电界面显示保持时间不足3分钟的问题

parent 119c115b
...@@ -400,12 +400,18 @@ static void Data_Soc_DisplayEffect_Service(void) ...@@ -400,12 +400,18 @@ static void Data_Soc_DisplayEffect_Service(void)
else if(Get_CAN_Power_State() == KEY_OFF) else if(Get_CAN_Power_State() == KEY_OFF)
{ {
Soc.Valid1 = 0U; Soc.Valid1 = 0U;
SocPoweroffTime = 0U;
}
else
{
SocPoweroffTime = 0U;
} }
} }
else else
{ {
g_SOCChargingState = 0U; g_SOCChargingState = 0U;
SocPoweroffTime = 0U;
if (Get_CAN_Power_State() == KEY_ACC) if (Get_CAN_Power_State() == KEY_ACC)
{ {
Soc.Dis_Seg1 = Soc.Act_Seg1; Soc.Dis_Seg1 = Soc.Act_Seg1;
......
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