Commit fd469ae3 authored by 何锐's avatar 何锐

feat:修改硬件版本号形式

parent ab34077c
......@@ -853,7 +853,7 @@ uint8_t SWtestresult = 0;
uint8_t HWtestresult = 0;
uint8_t PNtestresult = 0;
uint8_t ruanjianbanbenhao[8];
uint8_t yingjianbanbenhao[8];
uint8_t yingjianbanbenhao[5];
uint8_t ruanjianbanbenhaoin[5];
uint8_t lingjianhao[21];
uint8_t UIDcode1[33];
......@@ -1303,8 +1303,11 @@ void Get_HW_msg(void)
u8get714msg[7] = Get_CAN_CH0_ID_7A9_byte7_Sig();
if(u8get714msg[0] == 0x21)
{
memcpy(yingjianbanbenhao,&u8get714msg[1],7);
yingjianbanbenhao[7] = 0xFF;
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);
}
......
......@@ -4298,7 +4298,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