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
cd6f8c18
Commit
cd6f8c18
authored
May 31, 2024
by
张明扬
🇨🇳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:由于硬件较慢,连续帧发不出来,增加连续帧的延时,增大STmin
parent
6a54a18d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
DoCAN_ISO15765.c
Firmware/Source/UDS/DoCAN_ISO15765.c
+10
-1
No files found.
Firmware/Source/UDS/DoCAN_ISO15765.c
View file @
cd6f8c18
...
@@ -716,7 +716,16 @@ void DoCAN_Receive_Flow_Control(void)
...
@@ -716,7 +716,16 @@ void DoCAN_Receive_Flow_Control(void)
values 1,10,20,30,40,50 and 60.
values 1,10,20,30,40,50 and 60.
-------------------------------------------------------*/
-------------------------------------------------------*/
if
(
TpCtrl
.
Process
!=
TP_TX_CTS
)
if
(
TpCtrl
.
Process
!=
TP_TX_CTS
)
TpCtrl
.
STmin
=
TransportRxData
.
N_PDU_FC
.
N_PCI
.
STmin
;
{
if
(
TransportRxData
.
N_PDU_FC
.
N_PCI
.
STmin
==
0
)
{
TpCtrl
.
STmin
=
1
;
}
else
{
TpCtrl
.
STmin
=
TransportRxData
.
N_PDU_FC
.
N_PCI
.
STmin
;
}
}
/*-------------------------------------------------------
/*-------------------------------------------------------
Request a service where the response requires more than
Request a service where the response requires more than
...
...
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