Commit f7eb57ec authored by 高士达's avatar 高士达

Merge branch 'shihao' into 'develop'

Shihao

See merge request !28
parents e16ffa4d 71d6e4db
......@@ -1067,23 +1067,23 @@ void Data_Instantaneous_Fuel_Display_Service(void)
{
if(Data_InsFuel.Valid)
{
if(Data_InsFuel.Value_Last != Data_InsFuel.Value)
{
Data_InsFuel.FreshTime = 0;
Data_InsFuel.Value_Last = Data_InsFuel.Value;
}
// if(Data_InsFuel.Value_Last != Data_InsFuel.Value)
// {
// Data_InsFuel.FreshTime = 0;
// Data_InsFuel.Value_Last = Data_InsFuel.Value;
// }
if(Data_InsFuel.V_Speed_backup != Common_Get_Act_V_Speed( ))
{
if((Common_Get_Act_V_Speed( ) >= 50)&&(Data_InsFuel.V_Speed_backup < 50))
{
Data_InsFuel.FreshTime = 0;
//Data_InsFuel.FreshTime = 0;
Data_InsFuel.Display_Flag = 1;
}
if((Common_Get_Act_V_Speed( ) < 50)&&(Data_InsFuel.V_Speed_backup >= 50))
{
Data_InsFuel.FreshTime = 0;
//Data_InsFuel.FreshTime = 0;
Data_InsFuel.Display_Flag = 0;
}
Data_InsFuel.V_Speed_backup = Common_Get_Act_V_Speed( );
......
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