Commit 367b6d72 authored by hu's avatar hu

出KEY库外都好用了。

parent 3b638d27
...@@ -1207,7 +1207,7 @@ void Seg_Display_OFF(void) ...@@ -1207,7 +1207,7 @@ void Seg_Display_OFF(void)
uint8_t Flash_time = 0; uint8_t Flash_time = 0;
uint16_t Color_Time = 0;// 20 更换一次颜色 uint16_t Color_Time = 0;// 20 更换一次颜色
extern uint8_t BackOdoFlagSta ;
void Gui_Display_Test(void) void Gui_Display_Test(void)
{ {
uint16_t Get_Data_Veh_value = 0u ; uint16_t Get_Data_Veh_value = 0u ;
...@@ -1302,7 +1302,6 @@ void Gui_Display_Test(void) ...@@ -1302,7 +1302,6 @@ void Gui_Display_Test(void)
} }
uint8_t aaa = 0; uint8_t aaa = 0;
extern uint8_t BackOdoFlagSta ;
void Gui_9810_Test(void) void Gui_9810_Test(void)
{ {
static uint8_t Time = 0; static uint8_t Time = 0;
......
...@@ -27,6 +27,7 @@ uint8_t BG_display_flag; ...@@ -27,6 +27,7 @@ uint8_t BG_display_flag;
uint16_t HMI_StartAnimationFrameCnt; uint16_t HMI_StartAnimationFrameCnt;
uint8_t backgroundOFFFlag; uint8_t backgroundOFFFlag;
uint8_t BackOdoFlagSta; uint8_t BackOdoFlagSta;
uint8_t BackOdoFlag;
static void switch_branch(void); static void switch_branch(void);
...@@ -188,8 +189,9 @@ void DisplayServices(void) ...@@ -188,8 +189,9 @@ void DisplayServices(void)
else if (UE_CtrlInfo.HMI_KEYInfo.u8KEY_CONFIRM == KEY_EVENT_SUPER_LONG_PRESS) else if (UE_CtrlInfo.HMI_KEYInfo.u8KEY_CONFIRM == KEY_EVENT_SUPER_LONG_PRESS)
{ {
HMI_Clear_KEY_CONFIRM(); HMI_Clear_KEY_CONFIRM();
if (BackOdoFlagSta == 0) if (BackOdoFlag == 0)
{ {
BackOdoFlag = 1;
HMI_Clear_KEY_CONFIRM(); HMI_Clear_KEY_CONFIRM();
BackOdoFlagSta = 1 ; BackOdoFlagSta = 1 ;
Gui_Display_Test(); Gui_Display_Test();
...@@ -248,8 +250,9 @@ void Display_StartAnimationEnter(void) ...@@ -248,8 +250,9 @@ void Display_StartAnimationEnter(void)
{ {
HMI_StartAnimationFrameCnt = 0u; HMI_StartAnimationFrameCnt = 0u;
backgroundOFFFlag = 0; backgroundOFFFlag = 0;
MenuFlag.Menu_Popup_Flag = 0u ; MenuFlag.Menu_Popup_Flag= 0u ;
BackOdoFlagSta = 0; BackOdoFlagSta = 0;
BackOdoFlag = 0;
/*硬清空所有缓存数据*/ /*硬清空所有缓存数据*/
loc_free_mem(MENU_Sprite, MENU_Sprite); loc_free_mem(MENU_Sprite, MENU_Sprite);
......
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