Commit e6cfe471 authored by 李俭双's avatar 李俭双

🐞 fix:修改上大电第十帧外发周期不准的问题

parent 211d7cee
...@@ -190,7 +190,7 @@ static void Power_IG_OFF_Init(void) ...@@ -190,7 +190,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); //CAN_TX_SetEnable(&CAN_CH0_CanMsgTxOp, CAN_N_TX_Disable);
} }
static void Power_IG_ON_Init(void) static void Power_IG_ON_Init(void)
......
...@@ -115,7 +115,10 @@ void Sys_100ms_Tasks(void) ...@@ -115,7 +115,10 @@ void Sys_100ms_Tasks(void)
Clear_Navigation_St(); Clear_Navigation_St();
Protocol_ESP32_Active_Service(); Protocol_ESP32_Active_Service();
if(Common_GetIgnOffTime() >= 1000)
{
CAN_TX_SetEnable(&CAN_CH0_CanMsgTxOp, CAN_N_TX_Disable);
}
//R_test = ADC_Read_Signal(ADC_CH_FUEL1); //R_test = ADC_Read_Signal(ADC_CH_FUEL1);
} }
......
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