Commit e53a6473 authored by 郑萍's avatar 郑萍

🐞 fix:51927 【润通草地车】【下电充电显示】根据电源信号发送下电充电显示状态,显示有错误

parent 0ebda1ae
......@@ -484,10 +484,8 @@ void Gauge_CAN_setup_Service(void)
{
if (MBMS_TOTALSigAcc == 0x0 && MBMS_TOTALSigCharge == 0x1) // 下电充电)
{
Charge_OFF_Flag = 2;
SEG_SET_EleDial_AllSOC(0, 0);
SEG_SET_EleDial_1SOC(0, 0);
SEG_SET_EleDial_2SOC(0, 0);
Charge_OFF_Flag = 1;
Gauge_Power_SOC_pull_Display();
SOC1_Count = 0;
SOC2_Count = 0;
}
......@@ -495,6 +493,8 @@ void Gauge_CAN_setup_Service(void)
{
Charge_OFF_Flag = 0;
Gauge_Power_SOC_pull_Display();
SOC1_Count = 0;
SOC2_Count = 0;
}
poweroff_time = 0;
}
......
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