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
0d3d2d4c
Commit
0d3d2d4c
authored
May 15, 2013
by
Aurelio Colosimo
Committed by
Alessandro Rubini
May 20, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: removed unnecessary log from wr-servo.c
Signed-off-by:
Aurelio Colosimo
<
aurelio@aureliocolosimo.it
>
parent
d7ef94b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
20 deletions
+1
-20
wr-servo.c
proto-ext-whiterabbit/wr-servo.c
+1
-20
No files found.
proto-ext-whiterabbit/wr-servo.c
View file @
0d3d2d4c
...
@@ -307,27 +307,8 @@ int wr_servo_update(struct pp_instance *ppi)
...
@@ -307,27 +307,8 @@ int wr_servo_update(struct pp_instance *ppi)
tics
=
ppi
->
t_ops
->
calc_timeout
(
ppi
,
0
);
tics
=
ppi
->
t_ops
->
calc_timeout
(
ppi
,
0
);
if
(
s
->
state
!=
WR_WAIT_SYNC_IDLE
)
{
PP_PRINTF
(
"servo:state: %d (%s)
\n
"
,
s
->
state
,
servo_state_str
[
s
->
state
]);
PP_PRINTF
(
"Round-trip time (mu): "
);
PP_PRINTF
(
"%d ps
\n
"
,
(
int32_t
)(
cur_servo_state
.
mu
));
PP_PRINTF
(
"Master-slave delay: "
);
PP_PRINTF
(
"%d ps
\n
"
,
(
int32_t
)(
cur_servo_state
.
delay_ms
));
PP_PRINTF
(
"Master PHY delays: "
);
PP_PRINTF
(
"TX: %d ps, RX: %d ps
\n
"
,
(
int32_t
)
cur_servo_state
.
delta_tx_m
,
(
int32_t
)
cur_servo_state
.
delta_rx_m
);
PP_PRINTF
(
"Slave PHY delays: "
);
PP_PRINTF
(
"TX: %d ps, RX: %d ps
\n
"
,
(
int32_t
)
cur_servo_state
.
delta_tx_s
,
(
int32_t
)
cur_servo_state
.
delta_rx_s
);
PP_PRINTF
(
"Total link asymmetry: "
);
PP_PRINTF
(
"%d ps
\n
"
,
(
int32_t
)(
cur_servo_state
.
total_asymmetry
));
PP_PRINTF
(
"Cable rtt delay: "
);
PP_PRINTF
(
"%d ps
\n
"
,
(
int32_t
)(
cur_servo_state
.
mu
)
-
(
int32_t
)
cur_servo_state
.
delta_tx_m
-
(
int32_t
)
cur_servo_state
.
delta_rx_m
-
(
int32_t
)
cur_servo_state
.
delta_tx_s
-
(
int32_t
)
cur_servo_state
.
delta_rx_s
);
PP_PRINTF
(
"Clock offset: "
);
PP_PRINTF
(
"%d ps
\n
"
,
(
int32_t
)(
cur_servo_state
.
cur_offset
));
PP_PRINTF
(
"Phase setpoint: "
);
PP_PRINTF
(
"%d ps
\n
"
,
(
int32_t
)(
cur_servo_state
.
cur_setpoint
));
PP_PRINTF
(
"Skew: "
);
PP_PRINTF
(
"%d ps
\n
"
,
(
int32_t
)(
cur_servo_state
.
cur_skew
));
PP_PRINTF
(
"Update counter: "
);
PP_PRINTF
(
"%d
\n
"
,
(
int32_t
)(
cur_servo_state
.
update_count
));
}
if
(
wr_locking_poll
(
ppi
)
!=
WR_SPLL_READY
)
{
if
(
wr_locking_poll
(
ppi
)
!=
WR_SPLL_READY
)
{
PP_PRINTF
(
"PLL OutOfLock, should restart sync
\n
"
);
pp_diag
(
ppi
,
servo
,
1
,
"PLL OutOfLock, should restart sync
\n
"
);
wr_enable_timing_output
(
ppi
,
0
);
wr_enable_timing_output
(
ppi
,
0
);
/* TODO check
/* TODO check
* DSPOR(ppi)->doRestart = TRUE; */
* DSPOR(ppi)->doRestart = TRUE; */
...
...
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