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
65f9d293
Commit
65f9d293
authored
May 07, 2019
by
Jean-Claude BAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove debugging print
parent
8240a87d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
state-wr-resp-calib-req.c
proto-ext-whiterabbit/state-wr-resp-calib-req.c
+0
-4
No files found.
proto-ext-whiterabbit/state-wr-resp-calib-req.c
View file @
65f9d293
...
...
@@ -16,12 +16,9 @@ int wr_resp_calib_req(struct pp_instance *ppi, void *buf, int len, int new_state
struct
wr_dsport
*
wrp
=
WR_DSPOR
(
ppi
);
MsgSignaling
wrsig_msg
;
static
unsigned
long
startTime
;
if
(
new_state
)
{
wrp
->
wrStateRetry
=
WR_STATE_RETRY
;
pp_timeout_set_rename
(
ppi
,
wrTmoIdx
,
WR_TMO_MS
*
(
WR_STATE_RETRY
+
1
),
WR_TMO_NAME
);
startTime
=
ppi
->
t_ops
->
calc_timeout
(
ppi
,
0
);
}
else
{
if
(
ppi
->
received_ptp_header
.
messageType
==
PPM_SIGNALING
)
{
...
...
@@ -39,7 +36,6 @@ int wr_resp_calib_req(struct pp_instance *ppi, void *buf, int len, int new_state
wrp
->
next_state
=
(
wrp
->
wrMode
==
WR_MASTER
)
?
WRS_WR_LINK_ON
:
WRS_CALIBRATION
;
pp_printf
(
"JCB: CALIBRATED RECEIVED. Started= %ld ms, Now=%ld
\n
"
,
startTime
,
ppi
->
t_ops
->
calc_timeout
(
ppi
,
0
));
return
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