Commit f0259860 authored by 陈家乐's avatar 陈家乐

🐞 fix:休眠时间改为5秒

parent 7ff1da3e
......@@ -57,7 +57,7 @@ static void Power_KL30_Init(void)
CanMSg_XMS_Analysis(&CAN_CH0_CanMsgOp,2u);
CanMSg_XMS_Analysis(&CAN_CH0_CanMsgOp,2u);
Data_TPMS_Processing_Service();
CAN_TX_Init();
//CAN_TX_Init();
......@@ -137,7 +137,7 @@ static void Power_Wakeup_Init(void)
CanMSg_XMS_Analysis(&CAN_CH0_CanMsgOp,2u);
CanMSg_XMS_Analysis(&CAN_CH0_CanMsgOp,2u);
Data_TPMS_Processing_Service();
CAN_TX_Init();
//CAN_TX_Init();
CAN_TX_Count_Init();
CAN_TX_SetEnable(&CAN_CH0_CanMsgTxOp, CAN_N_TX_Enable);
......@@ -268,7 +268,7 @@ static Power_Status_em Power_Stay_OFF(void)
}
else
{
if ((Common_GetIgnOffTime() < 20000))
if ((Common_GetIgnOffTime() < 5000))
{
u8PowerSts = EM_IGN_OFF;
}
......
......@@ -138,6 +138,7 @@ void Sys_Exact_50us_Tasks(void)
task_100ms++;
if(task_100ms >= 2000)
{
task_100ms = 0u;
Data_Mileage_ISR();
}
task_1ms++;
......
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