Commit b0a6b066 authored by 崔立宝's avatar 崔立宝

TYW-2025-00001变更

parent 2fa6d24e
...@@ -793,6 +793,11 @@ interrupt void Api_RTC_isr(void) ...@@ -793,6 +793,11 @@ interrupt void Api_RTC_isr(void)
//ON //ON
if(Curkeyinput==KeyON) if(Curkeyinput==KeyON)
{ {
if (TempMeter_DelayTime < T_2s)
{
TempMeter_DelayTime++;
}
if(FuelTime < T_5s) if(FuelTime < T_5s)
{ {
FuelTime++; FuelTime++;
......
...@@ -468,8 +468,17 @@ void far App_CalTmpBoard(void) ...@@ -468,8 +468,17 @@ void far App_CalTmpBoard(void)
{ {
TempSpeed=170; TempSpeed=170;
} }
if (TempMeter.CurBoardVal != TempMeter_CurBoardVal)
TempMeter.DestPosition = App_CalMicroStep((INT32U)TempMeter.CurBoardVal,(EE_MeterType *)&TempMeterParamer); {
TempMeter_DelayTime = 0;
TempMeter_CurBoardVal = TempMeter.CurBoardVal;
}
if (TempMeter_DelayTime == T_2s)
{
TempMeter.DestPosition = App_CalMicroStep((INT32U)TempMeter.CurBoardVal,(EE_MeterType *)&TempMeterParamer);
}
FuelTime=0; FuelTime=0;
} }
......
...@@ -269,7 +269,10 @@ ...@@ -269,7 +269,10 @@
EXTERN_VAR volatile INT8U OUT_2000km_Clear; EXTERN_VAR volatile INT8U OUT_2000km_Clear;
EXTERN_VAR volatile INT8U ClearOdoCanTimes; EXTERN_VAR volatile INT8U ClearOdoCanTimes;
EXTERN_VAR volatile INT8U ClearOdoCanOut; EXTERN_VAR volatile INT8U ClearOdoCanOut;
EXTERN_VAR volatile INT8U ClearOdoCanOutCn; EXTERN_VAR volatile INT8U ClearOdoCanOutCn;
EXTERN_VAR volatile INT16U TempMeter_CurBoardVal;
EXTERN_VAR volatile INT16U TempMeter_DelayTime;
// //
EXTERN_VAR MULCANMSG MulCanMsg_ECM18EBFF00; EXTERN_VAR MULCANMSG MulCanMsg_ECM18EBFF00;
EXTERN_VAR INT8U Engine21_18EBFF00; EXTERN_VAR INT8U Engine21_18EBFF00;
......
This diff is collapsed.
This diff is collapsed.
无boot,无升级文件 无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