Commit f015d5c5 authored by hu's avatar hu

调整没有CAN设备CAN不休眠问题,调整OFF档显示时间问题

parent fb558971
...@@ -103,7 +103,7 @@ void BL_Management_service(void) ...@@ -103,7 +103,7 @@ void BL_Management_service(void)
Get_Menu_Off_Time = Coom_Get_Menu_Off_Time(); Get_Menu_Off_Time = Coom_Get_Menu_Off_Time();
//if (BackLightOFF_TIME < 3000) //if (BackLightOFF_TIME < 3000)
if ((State_Flag.Menu_Key_Static == 1u) && (Get_Menu_Off_Time < 7500)) if ((State_Flag.Menu_Key_Static == 1u) && (Get_Menu_Off_Time < 7550))
{ {
BackLightOFF_TIME++; BackLightOFF_TIME++;
......
...@@ -170,8 +170,7 @@ void Power_Sleep_Init(void) ...@@ -170,8 +170,7 @@ void Power_Sleep_Init(void)
RSCAN0_CH2_Abort(RSCAN_CHANNEL_BUF_12); RSCAN0_CH2_Abort(RSCAN_CHANNEL_BUF_12);
RSCAN0_CH2_Abort(RSCAN_CHANNEL_BUF_13); RSCAN0_CH2_Abort(RSCAN_CHANNEL_BUF_13);
RSCAN0_CH0_Sleep_Init(); RSCAN0_Sleep_Init();
RSCAN0_CH2_Sleep_Init();
VCC12V0_OUT_EN = 0u; /*12V 电源使能*/ VCC12V0_OUT_EN = 0u; /*12V 电源使能*/
VCC05V0_OUT_EN = 0u; /*外设5V 电源使能*/ VCC05V0_OUT_EN = 0u; /*外设5V 电源使能*/
......
...@@ -2036,7 +2036,7 @@ void GUI_Time_OilTemp_OFF_Display(uint8_t Mode) ...@@ -2036,7 +2036,7 @@ void GUI_Time_OilTemp_OFF_Display(uint8_t Mode)
Get_Menu_Off_Time = Coom_Get_Menu_Off_Time(); Get_Menu_Off_Time = Coom_Get_Menu_Off_Time();
if ((State_Flag.Menu_Key_Static == 1u) && (Get_Menu_Off_Time < 150000)) if ((State_Flag.Menu_Key_Static == 1u) && (Get_Menu_Off_Time < 7500))
{ {
/*时间*/ /*时间*/
GUI_General_Display(MENU_Sprite, CN_Time_wenzi, GUI_BLENDMODE_SRC_OVER); /*时间*/ GUI_General_Display(MENU_Sprite, CN_Time_wenzi, GUI_BLENDMODE_SRC_OVER); /*时间*/
......
...@@ -135,7 +135,7 @@ void DisplayServices(void) ...@@ -135,7 +135,7 @@ void DisplayServices(void)
} }
else else
{ {
if ((State_Flag.Menu_Key_Static == 1u) && (Get_Menu_Off_Time < 7500)) if ((State_Flag.Menu_Key_Static == 1u) && (Get_Menu_Off_Time < 7550))
{ {
UE_EN[Display_Menu] = UE_Enable; UE_EN[Display_Menu] = UE_Enable;
UE_EN[Display_Nothing] = UE_Disable; UE_EN[Display_Nothing] = UE_Disable;
......
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