Commit 64e3e0bf authored by 张金硕's avatar 张金硕

feat:新增TYW内部清大计策略

parent e046d7ee
......@@ -73,7 +73,7 @@ void Key_Operation_Right(Key_Event_en_t enKeyEvent)//确认
case KEY_EVENT_LONG_PRESS_3: //5s
break;
case KEY_EVENT_LONG_PRESS_4: //10s
//TYW_RESET_ODO();
TYW_RESET_ODO();
Get_Into_OTA_Update_Mode();
break;
case KEY_EVENT_OFF_TO_ON:
......@@ -355,7 +355,7 @@ void TYW_RESET_ODO(void)
if((Get_DispVechileSpeed() >= 1500)&&(Get_DispEngineSpeed() >= 12000))
{
ClearODO_Flag = 1;
//Data_Mileage_Clear();
Data_Mileage_Clear();
}
}
}
......@@ -390,7 +390,7 @@ void My_Key_Service(void)
/* 自检时不可操作按键 */
if(g_u8SelfCheck)
{
if(Get_ActualVechileSpeed() == 0)
if((Get_ActualVechileSpeed() == 0) ||((Get_DispVechileSpeed() >= 1990) && (Get_DispEngineSpeed() >= 12000)))
{
Key_Service();
}
......
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