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
03795fc7
Commit
03795fc7
authored
Jan 26, 2026
by
何锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:初步完成Flash校验
parent
7916c242
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
18 deletions
+10
-18
Barcode_Scanner.c
YueJin_test_bench/source/Appliciation/Barcode_Scanner.c
+1
-1
Key_user.c
YueJin_test_bench/source/Appliciation/Key_user.c
+1
-1
R485_Communication_Matrix.c
...est_bench/source/Appliciation/R485_Communication_Matrix.c
+5
-2
app_lsdn.c
YueJin_test_bench/source/Appliciation/app_lsdn.c
+3
-14
No files found.
YueJin_test_bench/source/Appliciation/Barcode_Scanner.c
View file @
03795fc7
...
...
@@ -364,7 +364,7 @@ void BarCodeDataGet2(void)
{
uint8_t
Frame_Header
=
0
;
//帧头
if
((
mDataBufPtr2
[
Frame_Header
]
==
0x5A
)
&&
(
mDataBufPtr2
[
Frame_Header
+
1
]
==
0xA5
)
\
&&
(
mDataBufPtr2
[
Frame_Header
+
2
]
==
0x01
)
&&
(
mDataBufPtr2
[
Frame_Header
+
3
]
==
0x01
))
&&
(
mDataBufPtr2
[
Frame_Header
+
9
]
==
0x34
)
&&
(
mDataBufPtr2
[
Frame_Header
+
10
]
==
0xFF
))
{
UART_Ch2_Send_Multiple_Byte
(
AimaDateUart
,
sizeof
(
AimaDateUart
));
}
...
...
YueJin_test_bench/source/Appliciation/Key_user.c
View file @
03795fc7
...
...
@@ -37,7 +37,7 @@ void Key_Operation_SW4(Key_Event_en_t enKeyEvent)
}
else
if
(
enKeyEvent
==
KEY_EVENT_LONG_PRESS
)
{
//
Key_Mode = 4; //检验Flash屏幕自扫
Key_Mode
=
4
;
//检验Flash屏幕自扫
}
else
if
(
enKeyEvent
==
KEY_EVENT_SUPER_LONG_PRESS
)
{
...
...
YueJin_test_bench/source/Appliciation/R485_Communication_Matrix.c
View file @
03795fc7
...
...
@@ -1175,8 +1175,11 @@ uint32_t R485_Send_test(void)
default:
break
;
}
// BCMLED.Sig.Lamp = 0x03; //左转
// BCMLED.Sig.FlickerFrequency = 0x05; //频率
if
((
Key_Mode
==
4
)
||
(
Key_Mode
==
5
))
{
BCMLED
.
Sig
.
HLLamp
=
0x03
;
//远近光
BCMLED
.
Sig
.
AutoLamp
=
0x01
;
//自动大灯
}
u32sendendflag
=
R485_Send
(
0x09
,
BCMLED
.
Msg
,
sizeof
(
BCMLED
.
Msg
));
...
...
YueJin_test_bench/source/Appliciation/app_lsdn.c
View file @
03795fc7
...
...
@@ -162,7 +162,7 @@ void Key_Judgment_Service(void)
{
Aimadata
.
Sig
.
media_right_key
=
0x00
;
}
else
if
((
Key_Mode
==
3
)
||
(
Key_Mode
==
4
))
//中键
else
if
((
Key_Mode
==
4
))
//中键
{
Aimadata
.
Sig
.
media_middle_key
=
0x00
;
}
...
...
@@ -171,7 +171,7 @@ void Key_Judgment_Service(void)
;
}
if
((
Key_Mode
==
1
)
||
(
Key_Mode
==
2
)
||
(
Key_Mode
==
3
)
)
if
((
Key_Mode
==
1
)
||
(
Key_Mode
==
2
))
{
if
(
KeySendTime
<=
10
)
{
...
...
@@ -185,7 +185,7 @@ void Key_Judgment_Service(void)
}
else
if
(
Key_Mode
==
4
)
{
if
(
KeySendTime
<=
14
00
)
if
(
KeySendTime
<=
40
00
)
{
KeySendTime
++
;
}
...
...
@@ -194,17 +194,6 @@ void Key_Judgment_Service(void)
Key_Mode
=
5
;
}
}
else
if
(
Key_Mode
==
5
)
{
if
(
KeySendTime
<=
1500
)
{
KeySendTime
++
;
}
else
{
Key_Mode
=
0
;
}
}
else
{
KeySendTime
=
0
;
...
...
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