Commit 120e97d5 authored by 何锐's avatar 何锐

feat:修改硬件版本号形式

parent 466db1a8
......@@ -1299,11 +1299,13 @@ void Get_HW_msg(void)
u8get714msg[7] = Get_CAN_CH0_ID_7A9_byte7_Sig();
if(u8get714msg[0] == 0x21 && zhenduanstep == 5)
{
memcpy(yingjianbanbenhao,&u8get714msg[1],7);
yingjianbanbenhao[7] = 0xFF;
HWtestresult = 1;
General_Number_Disp(yingjianbanbenhao, 105, 100);
HWtestresult = 1;
memcpy(yingjianbanbenhao,&u8get714msg[1],2);
yingjianbanbenhao[2] = (u8get714msg[3] / 10) + 0x30;
yingjianbanbenhao[3] = (u8get714msg[3] % 10) + 0x30;
yingjianbanbenhao[4] = 0xFF;
HWtestresult = 0;
General_Number_Disp(yingjianbanbenhao, 100, 100);
}
}
......
......@@ -4325,7 +4325,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 [10] = {2,0,2,5,97,0,9,2,3,0xff};
uint8_t mbuff [10] = {2,0,2,5,97,1,0,2,2,0xff};
General_Number_Disp(mbuff, 115, 25); //检测台版本号
// General_Number_Disp(UIDNumber, 85, 120); //固定UID数字
// General_Number_Disp(UIDNumber2, 70, 146); //可调UID数字
......
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