Commit 226e3145 authored by 崔立宝's avatar 崔立宝

修改历史问题36027和降低静态电流

parent 6a9d1abf
......@@ -112,6 +112,19 @@ void Api_Sys_Off(void)
Cruise_OUT =0;
DPF_OUT =0;
HOutputTempL_OUT =0;
//bsp_CAN_Sleep();
//SCICR2 = 0;
PERT_PERT1 = 0 ; //燃油零点
PERT_PERT0 = 0 ; //车速零点
PER1AD_PER1AD2 = 0 ; //温度零点
//PERS_PERS6 = 0;
//PERP_PERP7 = 0;
//PERP_PERP6 = 0;
LCD_SDA = 1;
LCD_SCL = 1;
}
#pragma CODE_SEG OTHER_ROM
/*-------------------------------------------------------------------------
......
......@@ -103,7 +103,8 @@ void main(void)
GUI_LedRandomDisplay();
App_CheckCanDrop() ;
App_ChcekSleep();
if(Curkeyinput == KeyOFF)
if (Curkeyinput == KeyOFF)
{
T_BOX_time=0;
RunStep = SysInit_Proc;
......@@ -116,8 +117,8 @@ void main(void)
if(CarFlag.FlagBits.SysOffEn)
{
CarFlag.FlagBits.SysOffEn = Disable;
GUI_Motor_Reset();
GUI_LCD_Clear();
GUI_Motor_Reset();
}
if(bcanbussleep==1)
{
......
......@@ -10,7 +10,7 @@ Target=TBDML
Layout=C_layout.hwl
LoadDialogOptions=AUTOERASEANDFLASH RUNANDSTOPAFTERLOAD="main"
CPU=HC12
MainFrame=2,3,-32000,-32000,-1,-1,2328,134,3180,909
MainFrame=2,3,-1,-1,-1,-1,2328,134,3180,909
TOOLBAR=57600 57601 32795 0 57635 57634 57637 0 57671 57669 0 32777 32776 32782 32780 32781 32778 0 32806
AEFWarningDialog=FALSE
Configuration=TBDML.hwc
......
No preview for this file type
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Data < ADDXPR ONLY_ADD_IF_NEW "FuelMeter.DestPosition"
Data < ADDXPR ONLY_ADD_IF_NEW "FuelMeter.CurPosition"
Data < ADDXPR ONLY_ADD_IF_NEW "FuleSpeed"
Data < ADDXPR ONLY_ADD_IF_NEW "Fuelnum"
Data < ADDXPR ONLY_ADD_IF_NEW "FuelMeter.CurBoardVal"
Data < ADDXPR ONLY_ADD_IF_NEW "FuleShowFlag"
Data < ADDXPR ONLY_ADD_IF_NEW "main.c::AccKm"
Data < ADDXPR ONLY_ADD_IF_NEW "G_Button.PushTime"
Data < ADDXPR ONLY_ADD_IF_NEW "AccKm"
Data < ADDXPR ONLY_ADD_IF_NEW "OldAccKm"
Data < ADDXPR ONLY_ADD_IF_NEW "OUT_2000km_Clear"
Data < ADDXPR ONLY_ADD_IF_NEW "FuelMeter"
Data < ADDXPR ONLY_ADD_IF_NEW "FuelMeterParamer"
Data < ADDXPR ONLY_ADD_IF_NEW "OBD_CheckTime"
Data < ADDXPR ONLY_ADD_IF_NEW "CanMsg5F2.Data[7].bbyte"
Data < ADDXPR ONLY_ADD_IF_NEW "ClearOdoCanTimes"
Data < ADDXPR ONLY_ADD_IF_NEW "ClearOdoCanOut"
Data < ADDXPR ONLY_ADD_IF_NEW "G_Button"
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