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
baizhengyuan
TianYing_ty100
Commits
3aa1407c
Commit
3aa1407c
authored
Aug 30, 2024
by
张明扬
🇨🇳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改禅道问题58596(QAC)——
在赋值时,“本质上无符号 ”类型 (%1s) 的非常数表达式被转换为较窄的无符号类型“%2s”。
parent
fc87c09e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
UDS_ISO14229_Services.c
Firmware/Source/UDS/UDS_ISO14229_Services.c
+3
-3
UDS_ISO14229_Services.h
Firmware/Source/UDS/UDS_ISO14229_Services.h
+1
-1
No files found.
Firmware/Source/UDS/UDS_ISO14229_Services.c
View file @
3aa1407c
...
...
@@ -276,7 +276,7 @@ uint8_t SerXXNRC12Filter(uint8_t insub, const uint8_t *supportsub, uint8_t size,
return
nrccode
;
}
uint8_t
SerXXNRC13Filter
(
uint8_t
type
,
uint
8
_t
serlength
,
const
uint8_t
*
length
,
uint8_t
index
)
uint8_t
SerXXNRC13Filter
(
uint8_t
type
,
uint
16
_t
serlength
,
const
uint8_t
*
length
,
uint8_t
index
)
{
uint8_t
nrccode
;
nrccode
=
incorrectMessageLength
;
...
...
@@ -789,7 +789,7 @@ void UDS_Service_22_Indication(uint16_t A_TA_type, uint16_t A_Length, uint8_t *A
if
(
0
==
NrcCode
)
{
DID
=
((
uint16_t
)
UDS_ISO14229_Transfer
[
0
]
<<
8
)
|
UDS_ISO14229_Transfer
[
1
];
NrcCode
=
SerXXNRC31DIDFilter
(
DID
,
Ser22DIDList
,
(
sizeof
(
Ser22DIDList
)
/
2
),
&
Index
);
NrcCode
=
SerXXNRC31DIDFilter
(
DID
,
Ser22DIDList
,
(
uint8_t
)(
sizeof
(
Ser22DIDList
)
/
2
),
&
Index
);
}
if
(
0
==
NrcCode
)
...
...
@@ -903,7 +903,7 @@ void UDS_Service_2E_Indication ( uint16_t A_TA_type, uint16_t A_Length, uint8_t
{
uint16_t
i
;
uint16_t
DID
;
uint
8
_t
Service2EDiagDataLength
;
uint
16
_t
Service2EDiagDataLength
;
uint16_t
FunorPhy
=
0
;
Service2EDiagDataLength
=
A_Length
;
S3_ServerCnt
=
0
;
...
...
Firmware/Source/UDS/UDS_ISO14229_Services.h
View file @
3aa1407c
...
...
@@ -393,7 +393,7 @@ typedef void (*InitFunction)(void);
/***********Local Functin*************/
uint8_t
GetCurrentSession
(
void
);
uint8_t
SerXXNRC12Filter
(
uint8_t
insub
,
const
uint8_t
*
supportsub
,
uint8_t
size
,
uint8_t
*
index
);
uint8_t
SerXXNRC13Filter
(
uint8_t
type
,
uint
8
_t
serlength
,
const
uint8_t
*
length
,
uint8_t
index
);
uint8_t
SerXXNRC13Filter
(
uint8_t
type
,
uint
16
_t
serlength
,
const
uint8_t
*
length
,
uint8_t
index
);
uint8_t
SerXXNRC22Filter
(
void
);
uint8_t
SerXXNRC31DIDFilter
(
uint16_t
inDID
,
const
uint16_t
*
DIDList
,
uint8_t
size
,
uint8_t
*
index
);
uint8_t
SerXXNRC33Filter
(
const
uint8_t
*
levelList
,
uint8_t
index
);
...
...
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