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
3e6c1255
Commit
3e6c1255
authored
Sep 14, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
servo: trivial: move some lines (no technical effect)
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
a6b46a9e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
servo.c
proto-standard/servo.c
+5
-5
No files found.
proto-standard/servo.c
View file @
3e6c1255
...
...
@@ -77,6 +77,11 @@ void pp_servo_got_resp(struct pp_instance *ppi)
pp_diag
(
ppi
,
servo
,
1
,
"Master to slave: %s
\n
"
,
fmt_TI
(
m_to_s_dly
));
pp_diag
(
ppi
,
servo
,
1
,
"Slave to master: %s
\n
"
,
fmt_TI
(
s_to_m_dly
));
/* Calc mean path delay, used later to calc "offset from master" */
add_TimeInternal
(
owd
,
&
SRV
(
ppi
)
->
m_to_s_dly
,
&
SRV
(
ppi
)
->
s_to_m_dly
);
div2_TimeInternal
(
owd
);
pp_diag
(
ppi
,
servo
,
1
,
"One-way delay: %s
\n
"
,
fmt_TI
(
owd
));
/* Check for too-big offsets, and then make the calculation */
if
(
OPTS
(
ppi
)
->
max_dly
)
{
/* If maxDelay is 0 then it's OFF */
...
...
@@ -110,11 +115,6 @@ void pp_servo_got_resp(struct pp_instance *ppi)
return
;
}
/* Calc mean path delay, used later to calc "offset from master" */
add_TimeInternal
(
owd
,
&
SRV
(
ppi
)
->
m_to_s_dly
,
&
SRV
(
ppi
)
->
s_to_m_dly
);
div2_TimeInternal
(
owd
);
pp_diag
(
ppi
,
servo
,
1
,
"One-way delay: %s
\n
"
,
fmt_TI
(
owd
));
if
(
owd
->
seconds
)
{
/* cannot filter with secs, clear filter */
owd_fltr
->
s_exp
=
0
;
...
...
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