Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
3707e812
Commit
3707e812
authored
Jun 12, 2016
by
Davide Ciminaghi
Committed by
Alessandro Rubini
Sep 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compliance, 13.3.2.5: set domain number in all outgoing frames
We're not a transparent clock, so this should be ok.
parent
5217805a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
common-fun.h
proto-standard/common-fun.h
+6
-0
No files found.
proto-standard/common-fun.h
View file @
3707e812
...
...
@@ -48,7 +48,13 @@ static inline int __send_and_log(struct pp_instance *ppi, int msglen,
int
msgtype
,
int
chtype
)
{
int
pdelay_addr
=
0
;
uint8_t
*
ptr
=
ppi
->
tx_ptp
;
/*
* We're not a transparent clock, just set our domain number in all
* outgoing frames
*/
ptr
[
4
]
=
GDSDEF
(
GLBS
(
ppi
))
->
domainNumber
;
if
(
msgtype
==
PPM_PDELAY_REQ
||
msgtype
==
PPM_PDELAY_RESP
)
pdelay_addr
=
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