Commit 67a5851b authored by 王金亮's avatar 王金亮

🐞 fix:57477 【豪进750TFT】【自检】重上15点仪表仅指示灯自检

54580 【豪进750TFT】【电源】反复上下15电,仪表显示错误
parent 5efc6363
...@@ -4066,6 +4066,15 @@ void AMT630H_GUI_BACKGRAND_SelfCheck() ...@@ -4066,6 +4066,15 @@ void AMT630H_GUI_BACKGRAND_SelfCheck()
; ;
} }
} }
void AMT630H_GUI_SELFCHECK_STS_INIT(void)
{
g_u8SelfCheck = 0U;
g_u16fuelnumberup = 0U;
g_u16vspeednumberup = 0U;
g_u16espeednumberup = 0U;
g_u16vspeednumberdown = 300U;
g_u16espeednumberdown = 300U;
}
void AMT630H_GUI_SETTING() void AMT630H_GUI_SETTING()
......
...@@ -53,6 +53,7 @@ typedef enum ...@@ -53,6 +53,7 @@ typedef enum
extern void AMT630H_GUI_DisplayProc(void); extern void AMT630H_GUI_DisplayProc(void);
extern void AMT630H_GUI_Background(void); extern void AMT630H_GUI_Background(void);
extern uint8_t GET_Backlight(void); extern uint8_t GET_Backlight(void);
extern void AMT630H_GUI_SELFCHECK_STS_INIT(void);
......
...@@ -134,6 +134,8 @@ static void Power_IG_ON_Init(void) ...@@ -134,6 +134,8 @@ static void Power_IG_ON_Init(void)
Fuel_KL15_Init(); Fuel_KL15_Init();
//RTE_GPIO_Set_Level(Blacklight_PWM, 1); //RTE_GPIO_Set_Level(Blacklight_PWM, 1);
FaultCode_Init(); FaultCode_Init();
Amt630hInit();
AMT630H_GUI_SELFCHECK_STS_INIT();
} }
static void Power_Sleep_Init(void) static void Power_Sleep_Init(void)
......
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