Commit 9472b775 authored by 梁百峰's avatar 梁百峰

feat:修改背光外发

parent 61887258
......@@ -537,77 +537,76 @@ void Can_Set_Buff_18D00017(canlib_uint8_t CopyData [])
{
if((Get_TelltalesLedSts(m_LED_Park_Lamp) == 1) || (Get_Enter_night_mode_sta() == 1))
{
if(g_nightLight.Duty == 100)
if(g_nightLight.Duty == 150)
{
IC_ILLUMINATION = 10;
}
else if(g_nightLight.Duty == 200)
{
IC_ILLUMINATION = 20;
IC_ILLUMINATION = 15;
}
else if(g_nightLight.Duty == 250)
{
IC_ILLUMINATION = 27;
IC_ILLUMINATION = 25;
}
else if(g_nightLight.Duty == 300)
else if(g_nightLight.Duty == 350)
{
IC_ILLUMINATION = 35;
}
else if(g_nightLight.Duty == 350)
else if(g_nightLight.Duty == 450)
{
IC_ILLUMINATION = 45;
}
else if(g_nightLight.Duty == 400)
else if(g_nightLight.Duty == 550)
{
IC_ILLUMINATION = 58;
IC_ILLUMINATION = 55;
}
else if(g_nightLight.Duty == 450)
else if(g_nightLight.Duty == 650)
{
IC_ILLUMINATION = 65;
}
else if(g_nightLight.Duty == 750)
{
IC_ILLUMINATION = 73;
IC_ILLUMINATION = 75;
}
else if(g_nightLight.Duty == 500)
else if(g_nightLight.Duty == 850)
{
IC_ILLUMINATION = 100;
IC_ILLUMINATION = 85;
}
else
{
IC_ILLUMINATION = 0;
}
}
else
{
if(g_Light.Duty == 100)
if(g_Light.Duty == 150)
{
IC_ILLUMINATION = 10;
}
else if(g_Light.Duty == 200)
{
IC_ILLUMINATION = 20;
IC_ILLUMINATION = 15;
}
else if(g_Light.Duty == 250)
{
IC_ILLUMINATION = 27;
IC_ILLUMINATION = 25;
}
else if(g_Light.Duty == 300)
else if(g_Light.Duty == 350)
{
IC_ILLUMINATION = 35;
}
else if(g_Light.Duty == 350)
else if(g_Light.Duty == 450)
{
IC_ILLUMINATION = 45;
}
else if(g_Light.Duty == 400)
else if(g_Light.Duty == 550)
{
IC_ILLUMINATION = 58;
IC_ILLUMINATION = 55;
}
else if(g_Light.Duty == 450)
else if(g_Light.Duty == 650)
{
IC_ILLUMINATION = 65;
}
else if(g_Light.Duty == 750)
{
IC_ILLUMINATION = 73;
IC_ILLUMINATION = 75;
}
else if(g_Light.Duty == 500)
else if(g_Light.Duty == 850)
{
IC_ILLUMINATION = 100;
IC_ILLUMINATION = 85;
}
else
{
......
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