Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Software for White Rabbit PTP Core
Manage
Activity
Members
Labels
Plan
Issues
39
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Software for White Rabbit PTP Core
Commits
3ea94d74
Commit
3ea94d74
authored
8 years ago
by
Grzegorz Daniluk
Committed by
Adam Wujek
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
wrpc sim: missing pl_cnt assignment
parent
bf1916f1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wrc_main_sim.c
+1
-0
1 addition, 0 deletions
wrc_main_sim.c
with
1 addition
and
0 deletions
wrc_main_sim.c
+
1
−
0
View file @
3ea94d74
...
...
@@ -147,6 +147,7 @@ int wrpc_test_1(void)
if
(
ret
==
0
)
code
=
0xE0
;
/* Error: returned zero value */
else
if
(
ret
>
0
)
{
pl_cnt
=
0xFFFF
&
((
tx_payload
[
0
]
<<
8
)
|
tx_payload
[
1
]);
if
(
pl_cnt
==
rx_cnt
)
{
rx_cnt
++
;
code
=
0xBB
;
/* OK */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment