Commit 19d62bb0 authored by 李俭双's avatar 李俭双

🐞 fix:修改IGOFF停止外发报文

parent dc9f2c7f
...@@ -48,6 +48,7 @@ static void Power_KL30_Init(void) ...@@ -48,6 +48,7 @@ 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_SetEnable(&CAN_CH0_CanMsgTxOp, CAN_N_TX_Enable);
DFlash_init(); DFlash_init();
Analog_Signal_Conv_Init(); Analog_Signal_Conv_Init();
BU98R10_Init(); BU98R10_Init();
...@@ -95,6 +96,7 @@ static void Power_Wakeup_Init(void) ...@@ -95,6 +96,7 @@ static void Power_Wakeup_Init(void)
Simulated_IIC_2_Init(); Simulated_IIC_2_Init();
Gpio_Init(Gpio_WakeUp_Init); Gpio_Init(Gpio_WakeUp_Init);
Can_Init(); Can_Init();
CAN_TX_SetEnable(&CAN_CH0_CanMsgTxOp, CAN_N_TX_Enable);
eeprom_StoreInfo_Init(); eeprom_StoreInfo_Init();
Analog_Signal_Conv_Init(); Analog_Signal_Conv_Init();
Data_User_Mileage_WakeupInit(); Data_User_Mileage_WakeupInit();
...@@ -137,6 +139,7 @@ static void Power_IG_OFF_Init(void) ...@@ -137,6 +139,7 @@ static void Power_IG_OFF_Init(void)
{ {
Line_In_KL15_OFF_Init(); Line_In_KL15_OFF_Init();
Checkself_Init(); Checkself_Init();
CAN_TX_SetEnable(&CAN_CH0_CanMsgTxOp, CAN_N_TX_Disable);
} }
static void Power_IG_ON_Init(void) static void Power_IG_ON_Init(void)
...@@ -150,6 +153,7 @@ static void Power_IG_ON_Init(void) ...@@ -150,6 +153,7 @@ static void Power_IG_ON_Init(void)
Data_Voltage_Init(); Data_Voltage_Init();
MenuData_TCS_Init(); MenuData_TCS_Init();
Data_Coolant_Temp_KL15_Init(); Data_Coolant_Temp_KL15_Init();
CAN_TX_SetEnable(&CAN_CH0_CanMsgTxOp, CAN_N_TX_Enable);
} }
static void Power_Sleep_Init(void) static void Power_Sleep_Init(void)
......
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