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
55bbb65b
Commit
55bbb65b
authored
Sep 21, 2018
by
Jean-Claude BAU
Committed by
Adam Wujek
Nov 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add asymmetryCorrectionPortDS.enable
parent
f35600f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
wrs-startup.c
arch-wrs/wrs-startup.c
+1
-0
ieee1588_types.h
include/ppsi/ieee1588_types.h
+1
-0
No files found.
arch-wrs/wrs-startup.c
View file @
55bbb65b
...
...
@@ -276,6 +276,7 @@ int main(int argc, char **argv)
ppi
->
timestampCorrectionPortDS
.
egressLatency
=
picos_to_interval
(
ppi
->
cfg
.
egressLatency_ps
);
ppi
->
timestampCorrectionPortDS
.
ingressLatency
=
picos_to_interval
(
ppi
->
cfg
.
ingressLatency_ps
);
ppi
->
timestampCorrectionPortDS
.
messageTimestampPointLatency
=
0
;
ppi
->
asymmetryCorrectionPortDS
.
enable
=
TRUE
;
ppi
->
asymmetryCorrectionPortDS
.
constantAsymmetry
=
picos_to_interval
(
ppi
->
cfg
.
constantAsymmetry_ps
);
ppi
->
asymmetryCorrectionPortDS
.
scaledDelayCoefficient
=
(
RelativeDifference
)(
ppi
->
cfg
.
delayCoefficient
*
(
double
)
pow
(
2
.
0
,
REL_DIFF_FRACBITS_AS_FLOAT
));
...
...
include/ppsi/ieee1588_types.h
View file @
55bbb65b
...
...
@@ -330,6 +330,7 @@ typedef struct { /*draft P1588_v_29: page 128*/
typedef
struct
{
/*draft P1588_v_29: page129*/
TimeInterval
constantAsymmetry
;
RelativeDifference
scaledDelayCoefficient
;
Boolean
enable
;
}
asymmetryCorrectionPortDS_t
;
typedef
struct
{
/*draft P1588_v_29: Clause 17.6.3 */
...
...
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