Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
TianYing_ty100
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
TY
TianYing_ty100
Commits
fc87c09e
Commit
fc87c09e
authored
Aug 30, 2024
by
张明扬
🇨🇳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改禅道问题58600(QAC)——
在赋值时,“本质上无符号 ”类型 (%1s) 的常量表达式被转换为较窄的无符号类型“%2s”。
parent
bafe15d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
DoCAN_ISO15765.c
Firmware/Source/UDS/DoCAN_ISO15765.c
+1
-1
No files found.
Firmware/Source/UDS/DoCAN_ISO15765.c
View file @
fc87c09e
...
@@ -353,7 +353,7 @@ void DoCAN_L_Data_Indication(uint16_t Identifier, uint32_t dlc, uint8_t *pData)
...
@@ -353,7 +353,7 @@ void DoCAN_L_Data_Indication(uint16_t Identifier, uint32_t dlc, uint8_t *pData)
LinkRxFIFO
.
LinkData
[
LinkRxFIFO
.
IPtr
].
Identifier
=
Identifier
;
// 装入报文ID
LinkRxFIFO
.
LinkData
[
LinkRxFIFO
.
IPtr
].
Identifier
=
Identifier
;
// 装入报文ID
for
(
i
=
0
;
i
<
dlc
;
i
++
)
// 拷贝报文
for
(
i
=
0
;
i
<
dlc
;
i
++
)
// 拷贝报文
LinkRxFIFO
.
LinkData
[
LinkRxFIFO
.
IPtr
].
Data
[
i
]
=
*
(
pData
+
i
);
LinkRxFIFO
.
LinkData
[
LinkRxFIFO
.
IPtr
].
Data
[
i
]
=
*
(
pData
+
i
);
LinkRxFIFO
.
LinkData
[
LinkRxFIFO
.
IPtr
].
DLC
=
dlc
;
// 保存报文长度
LinkRxFIFO
.
LinkData
[
LinkRxFIFO
.
IPtr
].
DLC
=
(
uint8_t
)
dlc
;
// 保存报文长度
LinkRxFIFO
.
Depth
++
;
// 新报文装入,深度+1
LinkRxFIFO
.
Depth
++
;
// 新报文装入,深度+1
LinkRxFIFO
.
IPtr
++
;
// 输入指针+1
LinkRxFIFO
.
IPtr
++
;
// 输入指针+1
...
...
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