Commit 3daa449b authored by hu's avatar hu

增加中英文切换功能,暂时没有英文图片,修改MIL指示灯亮度过量BUG

parent 37f6cfaa
......@@ -248,10 +248,10 @@ void Key_Operation_Up(Key_Event_en_t enKeyEvent)
/*语言设置 ----反*/
else if (bCurMenuIDX == _MN_DSP_LEVEL3_4_MENU_3)
{
//if (User_set_Num.User_Language > 0u)
//{
// User_set_Num.User_Language--;
//}
if (User_set_Num.User_Language > 0u)
{
User_set_Num.User_Language--;
}
}
/*胎压匹配界面*/
else if (bCurMenuIDX == _MN_DSP_LEVEL3_4_MENU_5)
......@@ -759,8 +759,8 @@ void Key_Operation_Down(Key_Event_en_t enKeyEvent)
/*语言设置 ----反*/
else if (bCurMenuIDX == _MN_DSP_LEVEL3_4_MENU_3)
{
//if (User_set_Num.User_Language < 1)
// User_set_Num.User_Language++;
if (User_set_Num.User_Language < 1)
User_set_Num.User_Language++;
}
/*胎压匹配界面*/
else if (bCurMenuIDX == _MN_DSP_LEVEL3_4_MENU_5)
......
......@@ -677,7 +677,7 @@ void LED_MIL_T_Execution(uint8_t led_status)
{
if (led_status == 1)
{
LED_Driver_Channel_Set(0u, 30u, 0xFFu);
LED_Driver_Channel_Set(0u, 30u, LED_BRIGHTNESSY);
SEG_LED_MIL_T(7);
}
else
......
This diff is collapsed.
This diff is collapsed.
......@@ -6,8 +6,8 @@
#include "images.h"
#include "TYW_stdint.h"
#define TRAPA 1u
#define TRAPB 0u
#define TRAPA 0u
#define TRAPB 1u
#define Language_En 0u
#define Language_Cn 1u
......@@ -260,7 +260,8 @@ static const GUIGeneralPopupStruct GUIGeneralPopupTable[] =
{CN_Alarm_drive_44_image, CN_Alarm_drive_44_wenzi2_1, CN_Alarm_drive_44_wenzi2, CN_Alarm_drive_44_wenzi2_1, CN_Alarm_drive_44_wenzi2}, /*67. 更换轮胎・轮胎位置*/
};
static const uint32_t GUIWedk[7u] = {CN_xingqiri, CN_xingqiyi, CN_xingqier, CN_xingqisan, CN_xingqisi, CN_xingqiwu, CN_xingqiliu};
static const uint32_t GUIWedk_Cn[7u] = {CN_xingqiri, CN_xingqiyi, CN_xingqier, CN_xingqisan, CN_xingqisi, CN_xingqiwu, CN_xingqiliu};
static const uint32_t GUIWedk_En[7u] = {CN_xingqiri, CN_xingqiyi, CN_xingqier, CN_xingqisan, CN_xingqisi, CN_xingqiwu, CN_xingqiliu};
static const uint32_t GUIMenuWedk[7u] = {CN_ri, CN_Mon, CN_Tue, CN_Wed, CN_Thu, CN_Fri, CN_Sat};
static const uint32_t GUIGear[12u] = {CN_dangwei_1, CN_dangwei_2, CN_dangwei_3, CN_dangwei_4, CN_dangwei_5, CN_dangwei_6,
CN_dangwei_7, CN_dangwei_8, CN_dangwei_9, CN_dangwei_10, CN_dangwei_11, CN_dangwei_12
......
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