Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
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
Software for White Rabbit PTP Core
Commits
6be7212f
Commit
6be7212f
authored
Oct 28, 2020
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix params of ep_get_mac_addr
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
8bc65747
Pipeline
#614
failed with stage
in 55 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
latency.c
lib/latency.c
+1
-1
cmd_ll.c
shell/cmd_ll.c
+1
-1
No files found.
lib/latency.c
View file @
6be7212f
...
...
@@ -91,7 +91,7 @@ static void latency_report(struct wr_timestamp *lat)
unsigned
char
mac
[
6
];
/* first time; pick a time in the future */
ep_get_mac_addr
(
mac
);
ep_get_mac_addr
(
&
wrc_endpoint_dev
,
mac
);
nextj
=
jiffies
+
TICS_PER_SECOND
*
(
10
+
(
mac
[
5
]
%
60
));
pp_printf
(
"%s: first sending at %li
\n
"
,
__func__
,
nextj
);
}
...
...
shell/cmd_ll.c
View file @
6be7212f
...
...
@@ -55,7 +55,7 @@ static int cmd_delays(const char *args[])
sfp_deltaRx
=
rx
;
/* Change the active value too (add bislide here) */
s
->
delta_tx_m
=
tx
;
s
->
delta_rx_m
=
rx
+
ep_get_bitslide
();
s
->
delta_rx_m
=
rx
+
ep_get_bitslide
(
&
wrc_endpoint_dev
);
}
else
{
pp_printf
(
"tx: %i rx: %i
\n
"
,
sfp_deltaTx
,
sfp_deltaRx
);
}
...
...
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