Commit a331bed7 authored by 王金亮's avatar 王金亮

🐞 fix:55980 【豪进7500TFT】【电源管理】下15电仪表不熄屏,仪表处于卡死状态

56289 【豪进7500TFT】【显示模式】显示模式切换为自动模式时,仪表卡在开机动画页面
仪表自动模式,下电后未关闭背光
parent c69ec3fd
...@@ -138,6 +138,8 @@ void Data_Light_Res_service(Light_uint8_t deltaTime)//获取光感阻值,并 ...@@ -138,6 +138,8 @@ void Data_Light_Res_service(Light_uint8_t deltaTime)//获取光感阻值,并
} }
} }
timeCount += deltaTime; timeCount += deltaTime;
if(SYS_OPR_STAT_IGN_ON)
{
if(Menu_Item_Select_Get(MENU_ITEM_SELECT_AUTO)) if(Menu_Item_Select_Get(MENU_ITEM_SELECT_AUTO))
{ {
if(LightADCompleteFlg) if(LightADCompleteFlg)
...@@ -197,6 +199,11 @@ void Data_Light_Res_service(Light_uint8_t deltaTime)//获取光感阻值,并 ...@@ -197,6 +199,11 @@ void Data_Light_Res_service(Light_uint8_t deltaTime)//获取光感阻值,并
{ {
BackLight_Process(); BackLight_Process();
} }
}
else
{
TimerM_PWM_set_duty(TIMERM_COUNTER1, TIMERM_CHB, 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