Commit 9af842f6 authored by 李俭双's avatar 李俭双

🐞 fix:44590 【天鹰TY100】【按键】自检期间响应按键

parent a3e20da7
......@@ -20,10 +20,18 @@ void Key_Operation_Left(Key_Event_en_t enKeyEvent)//Mode
switch (enKeyEvent)
{
case KEY_EVENT_SHORT_PRESS_1://1s
if (Common_GetIgnOnTime() >= 3000)
{
Key_Left_Short_Press();
}
break;
case KEY_EVENT_SHORT_PRESS_2://3-5s
if (Common_GetIgnOnTime() >= 3000)
{
Key_Left_Long_Press();
}
break;
case KEY_EVENT_LONG_PRESS_1: //7
break;
......@@ -32,6 +40,8 @@ void Key_Operation_Left(Key_Event_en_t enKeyEvent)//Mode
case KEY_EVENT_LONG_PRESS_3: //9s
break;
case KEY_EVENT_LONG_PRESS_4: //10s
if (Common_GetIgnOnTime() >= 3000)
{
Maintain_Reset_Service();
if((PageMenu == Page_TCS) && (PageType == Page_Menu))
......@@ -52,6 +62,8 @@ void Key_Operation_Left(Key_Event_en_t enKeyEvent)//Mode
}
TYW_RESET_ODO();
}
break;
case KEY_EVENT_OFF_TO_ON:
break;
......
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