Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiancetai
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈家乐
jiancetai
Commits
fd469ae3
Commit
fd469ae3
authored
Oct 22, 2025
by
何锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:修改硬件版本号形式
parent
ab34077c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
CAN_APP.c
YueJin_test_bench/source/Appliciation/CAN_APP.c
+6
-3
Display_Info.c
YueJin_test_bench/source/Appliciation/Display_Info.c
+1
-1
No files found.
YueJin_test_bench/source/Appliciation/CAN_APP.c
View file @
fd469ae3
...
...
@@ -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
);
}
...
...
YueJin_test_bench/source/Appliciation/Display_Info.c
View file @
fd469ae3
...
...
@@ -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数字
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment