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
f39d9e79
Commit
f39d9e79
authored
Jun 29, 2017
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
time-wrpc: remove some more code when ABSCAL is not used
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
0f688012
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
wrpc-socket.c
time-wrpc/wrpc-socket.c
+2
-1
No files found.
time-wrpc/wrpc-socket.c
View file @
f39d9e79
...
...
@@ -74,7 +74,8 @@ static int wrpc_net_recv(struct pp_instance *ppi, void *pkt, int len,
t
->
scaled_nsecs
=
(
int64_t
)
wr_ts
.
nsec
<<
16
;
t
->
scaled_nsecs
+=
wr_ts
.
phase
*
(
1
<<
16
)
/
1000
;
/* avoid "incorrect" stamps when abscal is running */
if
(
!
wr_ts
.
correct
&&
ptp_mode
!=
WRC_MODE_ABSCAL
)
if
(
!
wr_ts
.
correct
&&
(
!
HAS_ABSCAL
||
ptp_mode
!=
WRC_MODE_ABSCAL
))
mark_incorrect
(
t
);
}
...
...
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