Commit 508926c2 authored by hu's avatar hu

调整水温指示灯显示

parent d88309c8
#include "BackgroundLight.h"
#include "BGLInterface.h"
#include "Telltales.h"
#include "GPIO.h"
#include "kwp2000_service.h"
#include "Telltales.h"
#include "Data_CoolantTemperature.h"
uint16_t IgnOffKeepMs;
uint16_t IgnOnKeepMs;
......@@ -414,13 +416,27 @@ void BackLightDeal(BL_USER_PARA BL_FunPara, BL_STATE_PARA BLFunStatePara)
if ((LED_Temp_Judgement() == 1u) && (K_Line_Set.K_Line_LID43 == 0x82u))
{
SetBacklightDestVal(LED_TEMP, 0);
//SetBacklightDestVal(LED_TEMPBL, 0);
//Water_Temp_Led_R_MCU_OUT = 1u;
}
else
{
SetBacklightDestVal(LED_TEMP, BL_FunPara.BL_User_GaugesDuty);
//SetBacklightDestVal(LED_TEMPBL, BL_FunPara.BL_User_GaugesDuty);
//Water_Temp_Led_R_MCU_OUT = 0u;
}
if ((Coolant_Get_CurSeg() >= 11) && (K_Line_Set.K_Line_LID43 == 0x82u))
{
SetBacklightDestVal(LED_TEMPBL, 0);
Water_Temp_Led_R_MCU_OUT = 1u;
}
else
{
SetBacklightDestVal(LED_TEMPBL, BL_FunPara.BL_User_GaugesDuty);
Water_Temp_Led_R_MCU_OUT = 0u;
}
}
else if ((BL_FunPara.BL_User_WakeFlag) && (BL_FunPara.BL_User_PowerSt == BGL_IGN_OFF))
{
......
......@@ -1967,7 +1967,7 @@ void LED_Temp_Execution(uint8_t led_status)
if ((led_status == 1u) && (K_Line_Set.K_Line_LID43 == 0x82u))
{
TEMP_R_LED_OUT = 1u ;/*水温红灯*/
//Water_Temp_Led_R_MCU_OUT = 0u;
//Water_Temp_Led_R_MCU_OUT = 1u;
TEMP_W_LED_OUT = 0u ;//水温字符白色指示灯
//Water_Temp_Led_W_MCU_OUT = 1u;
......
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