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
75707f6a
Commit
75707f6a
authored
Mar 15, 2017
by
Adam Wujek
💬
Committed by
Alessandro Rubini
Apr 05, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wr-servo: trivial: set udate_time (for snmp) in missing places
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
a438acc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
wr-servo.c
proto-ext-whiterabbit/wr-servo.c
+2
-0
No files found.
proto-ext-whiterabbit/wr-servo.c
View file @
75707f6a
...
...
@@ -179,6 +179,7 @@ int wr_servo_init(struct pp_instance *ppi)
s
->
flags
|=
WR_FLAG_VALID
;
s
->
update_count
=
0
;
ppi
->
t_ops
->
get
(
ppi
,
&
s
->
update_time
);
s
->
tracking_enabled
=
tracking_enabled
;
got_sync
=
0
;
...
...
@@ -291,6 +292,7 @@ int wr_p2p_offset(struct pp_instance *ppi,
got_sync
=
0
;
s
->
update_count
++
;
ppi
->
t_ops
->
get
(
ppi
,
&
s
->
update_time
);
picos_to_ts
(
s
->
delta_ms
,
&
time_ms
);
*
ts_offset
=
s
->
t1
;
...
...
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