Commit 66f02826 authored by 梁百峰's avatar 梁百峰

🐞 fix:修改车型配置以及第一步修改为静态电流

parent 0ea76bc8
......@@ -1221,7 +1221,7 @@ void change_UDS_DID(void)
data[2] = 0x2E;
data[3] = 0xF0;
data[4] = 0x10;
data[5] = 0x03;
data[5] = 0x02;
data[6] = 0xBF;
data[7] = 0xFD;
init_CAN_Frame(&m_msg, 0x714, 8, 1, data);
......
......@@ -4019,7 +4019,7 @@ void Display_Version_Info(uint32_t ON_OFF)
// TFT_LCD_Draw_Bmp(3, 160, ( uint8_t * )gImage_Alarm_12_WordX6_Y165); //24脚输出占空比
// TFT_LCD_Draw_Bmp(210, 160, ( uint8_t * )gImage_Alarm_13_ImageX222_Y166); //%
TFT_LCD_Draw_Bmp(3, 290, ( uint8_t * )gImage_gImage_checkVX6_Y165 ); //检测台版本号
uint8_t mbuff [5] = {0,0x2E,0,6,0xff};
uint8_t mbuff [5] = {0,0x2E,0,8,0xff};
General_Number_Disp(mbuff, 160, 290);
}
......
......@@ -101,6 +101,8 @@ void Sys_Run_Mode_10ms_Tasks_Group(void)
Key_Service( );
resetchangeUDSfuc();
if(MENU_CHECK_STEP != 14)
{
if(fakedelay < 100)
{
fakedelay++;
......@@ -110,6 +112,8 @@ void Sys_Run_Mode_10ms_Tasks_Group(void)
change_UDS_DID();
// cycleflag = 1;
}
}
if(resetflag == 0)
{
if(cycleflag == 1)
......
......@@ -81,8 +81,8 @@ void Sys_Startup_Init(void)
Display_Title_Info( );
Key_Init( );
Buzzer_Init();
POWER_CTRL_KL30 = 1u; //B+
POWER_CTRL_KL15 = 1u; //KL15
POWER_CTRL_KL30 = 0u; //B+
POWER_CTRL_KL15 = 0u; //KL15
MENU_CHECK_STEP = 14;
}
......
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