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
06f65803
Commit
06f65803
authored
Jul 16, 2025
by
何锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:仪表修改车速有逻辑,检测台同步
parent
d1f53126
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
CAN_APP.c
YueJin_test_bench/source/Appliciation/CAN_APP.c
+6
-6
No files found.
YueJin_test_bench/source/Appliciation/CAN_APP.c
View file @
06f65803
...
...
@@ -291,7 +291,7 @@ void can_submit(void)
case
1
:
/* 车速 */
data1
[
0
]
=
0x05
;
data1
[
1
]
=
0x
0
0
;
data1
[
1
]
=
0x
9
0
;
init_CAN_Frame
(
&
m_msg1
,
0x141
,
8
,
1
,
data1
);
/* 转速 */
...
...
@@ -323,8 +323,8 @@ void can_submit(void)
break
;
case
2
:
/* 车速 */
data1
[
0
]
=
0x0
C
;
data1
[
1
]
=
0x
C
8
;
data1
[
0
]
=
0x0
D
;
data1
[
1
]
=
0x
5
8
;
init_CAN_Frame
(
&
m_msg1
,
0x141
,
8
,
1
,
data1
);
/* 转速 */
...
...
@@ -357,7 +357,7 @@ void can_submit(void)
case
3
:
/* 车速 */
data1
[
0
]
=
0x14
;
data1
[
1
]
=
0x
90
;
data1
[
1
]
=
0x
D8
;
init_CAN_Frame
(
&
m_msg1
,
0x141
,
8
,
1
,
data1
);
/* 转速 */
...
...
@@ -456,7 +456,7 @@ void can_submit(void)
case
6
:
/* 车速 */
data1
[
0
]
=
0x3D
;
data1
[
1
]
=
0x
A
8
;
data1
[
1
]
=
0x
C
8
;
init_CAN_Frame
(
&
m_msg1
,
0x141
,
8
,
1
,
data1
);
/* 转速 */
...
...
@@ -489,7 +489,7 @@ void can_submit(void)
case
7
:
/* 车速 */
data1
[
0
]
=
0x52
;
data1
[
1
]
=
0x
38
;
data1
[
1
]
=
0x
64
;
init_CAN_Frame
(
&
m_msg1
,
0x141
,
8
,
1
,
data1
);
/* 转速 */
...
...
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