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

🐞 fix:56305 仪表首帧上大电,外发第一帧时间超过300ms

parent 322449af
...@@ -49,6 +49,10 @@ static void Power_KL30_Init(void) ...@@ -49,6 +49,10 @@ static void Power_KL30_Init(void)
Gpio_Init(Gpio_KL30_Init); Gpio_Init(Gpio_KL30_Init);
eeprom_StoreInfo_Init(); eeprom_StoreInfo_Init();
Can_Init(); Can_Init();
CAN_TX_Count_Init();
CAN_TX_SetEnable(&CAN_CH0_CanMsgTxOp, CAN_N_TX_Enable);
Data_TPMS_KL30_Init ();
DFlash_init(); DFlash_init();
Data_Read_DiagPara(); Data_Read_DiagPara();
...@@ -82,7 +86,7 @@ static void Power_KL30_Init(void) ...@@ -82,7 +86,7 @@ static void Power_KL30_Init(void)
Telltales_Init(); Telltales_Init();
Telltales_UserInit(); Telltales_UserInit();
MenuData_Unit_Init(); MenuData_Unit_Init();
Data_TPMS_KL30_Init ();
RTCInformation.u8RTCSecond = 0; RTCInformation.u8RTCSecond = 0;
RTCInformation.u8RTCMinute = 0; RTCInformation.u8RTCMinute = 0;
RTCInformation.u8RTCHour = 0; RTCInformation.u8RTCHour = 0;
...@@ -93,8 +97,7 @@ static void Power_KL30_Init(void) ...@@ -93,8 +97,7 @@ static void Power_KL30_Init(void)
RTE_DEEPSLEEP_GPIO_Interrupt_Enable(WAKEUP_KL15_In,Trigger_Rising); RTE_DEEPSLEEP_GPIO_Interrupt_Enable(WAKEUP_KL15_In,Trigger_Rising);
FaultCode_Init(); FaultCode_Init();
CAN_TX_Count_Init();
CAN_TX_SetEnable(&CAN_CH0_CanMsgTxOp, CAN_N_TX_Enable);
} }
extern uint32_t PowerIgnOffTimeLine; extern uint32_t PowerIgnOffTimeLine;
......
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