Commit 791a9ec3 authored by 陈家乐's avatar 陈家乐

🐞 fix:水温表服务函数内局部变量赋初值

parent 15ed5d04
...@@ -40,10 +40,10 @@ void Data_Coolant_Temp_KL15_Init ( void ) ...@@ -40,10 +40,10 @@ void Data_Coolant_Temp_KL15_Init ( void )
void Data_Coolant_Temp_Processing_Service ( void ) void Data_Coolant_Temp_Processing_Service ( void )
{ {
uint16_t Coolant_Temperature; uint16_t Coolant_Temperature = 0;
uint8_t Coolant_Temperature_State; uint8_t Coolant_Temperature_State = 0;
uint32_t Temp; uint32_t Temp = 0;
uint8_t i; uint8_t i = 0;
Coolant_Temperature = Get_CAN_CH0_ID_101_Sig_ECU_Engine_Temperature(); Coolant_Temperature = Get_CAN_CH0_ID_101_Sig_ECU_Engine_Temperature();
Coolant_Temperature_State = Get_CAN_CH0_ID_101_Sig_ECU_Engine_Temperature_State(); Coolant_Temperature_State = Get_CAN_CH0_ID_101_Sig_ECU_Engine_Temperature_State();
......
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