Commit f9da1ca1 authored by 梁百峰's avatar 梁百峰

feat:增加黑夜模式亮度休眠唤醒初始化恢复默认亮度

parent 8ec07281
......@@ -1196,6 +1196,10 @@ void GUI_Light_Init(void)
g_nightLight.Duty = 100;
}
void GUI_nightLightWeakup_Init(void)
{
g_nightLight = 100;
}
void Gui_LightProc(void)
{
if(SYS_OPR_STAT_HALT)
......
......@@ -485,6 +485,7 @@ uint8_t Common_Get_Act_V_Speed_Valid(void);
uint16_t Get_DispVechileSpeed(void);
uint16_t Get_DispEngineSpeed(void);
void GUI_Light_Init(void);
void GUI_nightLightWeakup_Init(void)
void GUI_Sound_Init(void);
void Gui_LightProc(void);
void Data_Clear_Trip(void);
......
......@@ -159,7 +159,7 @@ void PoMa_Wakeup_Init(void)
WDT_Clear( );
PWM_Init( );
FuelWake( );
GUI_nightLightWeakup_Init();
#ifndef INNER_PIC_ON
BSP_QSPI_Init( );
// Gui_LoadFontInfo();
......
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