Commit 37e96d1e authored by 何锐's avatar 何锐

🐞 fix:增加长按清大计策略

parent 6e3316b1
......@@ -112,10 +112,7 @@ void Key_Operation_SW8(Key_Event_en_t enKeyEvent)
{
if ( enKeyEvent == KEY_EVENT_SHORT_PRESS )
{
if(MENU_CHECK_STEP == 9)
{
clear_odo = 1;
}
}
else if ( enKeyEvent == KEY_EVENT_LONG_PRESS )
{
......@@ -142,7 +139,10 @@ void Key_Operation_SW2(Key_Event_en_t enKeyEvent)
}
else if ( enKeyEvent == KEY_EVENT_LONG_PRESS )
{
if(MENU_CHECK_STEP == 9)
{
clear_odo = 1;
}
}
else if ( enKeyEvent == KEY_EVENT_SUPER_LONG_PRESS )
{
......
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