Commit 86edb1cb authored by hu's avatar hu

修改OFF档时间界面只显示15sbug

parent 34fb5f55
...@@ -104,7 +104,7 @@ void BL_Management_service(void) ...@@ -104,7 +104,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 < 150000)) if ((State_Flag.Menu_Key_Static == 1u) && (Get_Menu_Off_Time < 7500))
{ {
BackLightOFF_TIME++; BackLightOFF_TIME++;
......
...@@ -322,7 +322,7 @@ Power_Status_t Power_Stay_OFF(void) ...@@ -322,7 +322,7 @@ Power_Status_t Power_Stay_OFF(void)
if ( if (
(PowerGetNMStatus() == POWER_NM_SLEEP) && (PowerGetNMStatus() == POWER_NM_SLEEP) &&
(LED_WAKEUP == LEVEL_LOW) && (LED_WAKEUP == LEVEL_LOW) &&
(Get_Menu_Off_Time >= 150100u) (Get_Menu_Off_Time >= 7600u)
) )
{ {
u8PowerSts = m_IGN_Sleep_Init; u8PowerSts = m_IGN_Sleep_Init;
......
...@@ -136,7 +136,7 @@ void DisplayServices(void) ...@@ -136,7 +136,7 @@ void DisplayServices(void)
} }
else else
{ {
if ((State_Flag.Menu_Key_Static == 1u) && (Get_Menu_Off_Time < 150000)) if ((State_Flag.Menu_Key_Static == 1u) && (Get_Menu_Off_Time < 7500))
{ {
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