Commit a378dacd authored by 姜凯文's avatar 姜凯文 🤒

Merge branch 'dev-1' into 'dev'

TYW-2025-00001变更

See merge request !5
parents 1395f09b b0a6b066
......@@ -793,6 +793,11 @@ interrupt void Api_RTC_isr(void)
//ON
if(Curkeyinput==KeyON)
{
if (TempMeter_DelayTime < T_2s)
{
TempMeter_DelayTime++;
}
if(FuelTime < T_5s)
{
FuelTime++;
......
......@@ -468,8 +468,17 @@ void far App_CalTmpBoard(void)
{
TempSpeed=170;
}
if (TempMeter.CurBoardVal != TempMeter_CurBoardVal)
{
TempMeter_DelayTime = 0;
TempMeter_CurBoardVal = TempMeter.CurBoardVal;
}
if (TempMeter_DelayTime == T_2s)
{
TempMeter.DestPosition = App_CalMicroStep((INT32U)TempMeter.CurBoardVal,(EE_MeterType *)&TempMeterParamer);
}
FuelTime=0;
}
......
......@@ -270,6 +270,9 @@
EXTERN_VAR volatile INT8U ClearOdoCanTimes;
EXTERN_VAR volatile INT8U ClearOdoCanOut;
EXTERN_VAR volatile INT8U ClearOdoCanOutCn;
EXTERN_VAR volatile INT16U TempMeter_CurBoardVal;
EXTERN_VAR volatile INT16U TempMeter_DelayTime;
//
EXTERN_VAR MULCANMSG MulCanMsg_ECM18EBFF00;
EXTERN_VAR INT8U Engine21_18EBFF00;
......
This diff is collapsed.
This diff is collapsed.
无boot,无升级文件
工程文件:WZ-DG01_S0.01_241010.s19
工程文件:WZ-DG01-01_S0.02_250110.s19
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