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

🐞 fix:TCS开关更改为不记忆,重上15电恢复默认

parent 5f081835
...@@ -359,6 +359,10 @@ void MenuData_Unit_Init(void) ...@@ -359,6 +359,10 @@ void MenuData_Unit_Init(void)
MenuData.Tpms_Unit = 0; MenuData.Tpms_Unit = 0;
MenuData.Tcs_Val = 1; MenuData.Tcs_Val = 1;
} }
void MenuData_TCS_Init(void)
{
MenuData.Tcs_Val = 1;
}
uint8_t ClearODO_Flag = 0; uint8_t ClearODO_Flag = 0;
void TYW_RESET_ODO(void) void TYW_RESET_ODO(void)
......
...@@ -63,4 +63,5 @@ uint8_t Get_Dis_Tcs_Val(void); ...@@ -63,4 +63,5 @@ uint8_t Get_Dis_Tcs_Val(void);
void Key_Check_Service(void); void Key_Check_Service(void);
void MenuData_Unit_Init(void); void MenuData_Unit_Init(void);
void Maintain_Reset_Service(void); void Maintain_Reset_Service(void);
void MenuData_TCS_Init(void);
#endif #endif
...@@ -104,6 +104,7 @@ static void Power_Wakeup_Init(void) ...@@ -104,6 +104,7 @@ static void Power_Wakeup_Init(void)
LINE_IN_Init(); LINE_IN_Init();
Key_KL30_Init_EXample(); Key_KL30_Init_EXample();
Line_In_KL15_ON_Init(); Line_In_KL15_ON_Init();
MenuData_TCS_Init();
//Light_Sensor_Init_Example();//注意顺序1 //Light_Sensor_Init_Example();//注意顺序1
LED_Driver_Init_Example();//注意顺序2 LED_Driver_Init_Example();//注意顺序2
Fuel_KL30_Init(); Fuel_KL30_Init();
...@@ -145,6 +146,7 @@ static void Power_IG_ON_Init(void) ...@@ -145,6 +146,7 @@ static void Power_IG_ON_Init(void)
Telltales_UserInit(); Telltales_UserInit();
Fuel_KL15_Init(); Fuel_KL15_Init();
Data_Voltage_Init(); Data_Voltage_Init();
MenuData_TCS_Init();
Data_Coolant_Temp_KL15_Init(); Data_Coolant_Temp_KL15_Init();
} }
......
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