Commit 7d29024b authored by 陈家乐's avatar 陈家乐

🐞 fix:61981 天有为清零策略判断条件改为实际车速

parent dec2082a
......@@ -483,6 +483,7 @@ void Menu_u8Data_Updata_Process(uint8_t updateDir , uint8_t datMax, uint8_t datM
*dat = temp;
}
extern uint8_t TCS_Init_flag_220;
void MenuData_Unit_Init(void)
{
uint8_t TCS[1] = {0};
......@@ -492,6 +493,7 @@ void MenuData_Unit_Init(void)
//MenuData.Tpms_Unit = 0;
MenuData.Tcs_Val = TCS[0];
TCS_Init_flag_220 = 1;
}
void MenuData_TCS_Init(void)
{
......@@ -502,6 +504,8 @@ void MenuData_TCS_Init(void)
PageType = Page_Menu;
Hour_Set = 0;
Minute_Set = 0;
TCS_Init_flag_220 = 1;
}
uint8_t ClearODO_Flag = 0;
......@@ -513,7 +517,7 @@ void TYW_RESET_ODO(void)
{
if(ClearODO_Flag < 1)
{
if((Get_DispVechileSpeed() >= 1990)&&(Get_DispEngineSpeed() >= 12000))
if((Get_ActualVechileSpeed()/*Get_DispVechileSpeed()*/ >= 1990)&&(Get_DispEngineSpeed() >= 12000))
{
ClearODO_Flag = 1;
Data_Mileage_Clear();
......
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