Commit bcdbb925 authored by 张金硕's avatar 张金硕

🐞 fix:按键短按小于2s

parent de9d1012
......@@ -145,8 +145,8 @@ void Key_KL30_Init_EXample(void)
stKeyInitTem.enKeyIGNRealStatus = KEY_IG_OFF;
Key_KL30_Init(&u8KeyRamData[0], stKeyAttribute, &stKeyInitTem);
Key_Parameter_Set_Short_Press_1_Time(50U,1000U);
Key_Parameter_Set_Short_Press_2_Time(2000U,5000U);
Key_Parameter_Set_Short_Press_2_Time(2100U,5000U);
Key_Parameter_Set_Short_Press_1_Time(50U,2000U);
Key_Parameter_Set_Long_Press_1_Time(2000U);
Key_Parameter_Set_Long_Press_2_Time(8000U);
......@@ -161,8 +161,8 @@ void Key_Wakeup_Init_EXample(void)
stKeyInitTem.enKeyIGNRealStatus = KEY_IG_OFF;
Key_Wakeup_Init(&u8KeyRamData[0], stKeyAttribute, &stKeyInitTem);
Key_Parameter_Set_Short_Press_1_Time(50U,1000U);
Key_Parameter_Set_Short_Press_2_Time(2000U,5000U);
Key_Parameter_Set_Short_Press_2_Time(2100U,5000U);
Key_Parameter_Set_Short_Press_1_Time(50U,2000U);
Key_Parameter_Set_Long_Press_1_Time(2000U);
Key_Parameter_Set_Long_Press_2_Time(8000U);
......
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