Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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
White Rabbit Switch - Software
Commits
195d8733
Commit
195d8733
authored
Sep 22, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
white-rabbit: in non-wr mode, pps is always on
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
6c5ca924
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
hooks.c
proto-ext-whiterabbit/hooks.c
+3
-2
No files found.
proto-ext-whiterabbit/hooks.c
View file @
195d8733
...
...
@@ -128,8 +128,9 @@ static int wr_handle_resp(struct pp_instance *ppi)
return
0
;
}
pp_servo_got_resp
(
ppi
);
/* turn on pps output even if not WR, if < 1ms offset */
pps_out
=
(
ofm
->
seconds
||
abs
(
ofm
->
nanoseconds
)
>
1000
*
1000
);
/* pps always on; until we have a configurable threshold */
if
(
ofm
/* ->seconds || ... */
)
pps_out
=
1
;
/* Only act on changes, so hackers can force it on manually */
if
(
pps_out
!=
WR_DSPOR
(
ppi
)
->
ppsOutputOn
)
...
...
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