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
c0be77c7
Commit
c0be77c7
authored
Sep 11, 2019
by
Jean-Claude BAU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spelling mistake correction
Tollerance replaced by tolerance.
parent
7a240a19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wr_phytool.c
userspace/tools/wr_phytool.c
+2
-2
No files found.
userspace/tools/wr_phytool.c
View file @
c0be77c7
...
...
@@ -1128,7 +1128,7 @@ void phase_test_mode1(int ep)
#define MDIO_DBG1 19
#define MDIO_DBG0 18
int
force_tx_phase
(
int
ep
,
int
center
,
int
tol
l
erance
)
int
force_tx_phase
(
int
ep
,
int
center
,
int
tolerance
)
{
int
n_attempts
=
0
;
...
...
@@ -1148,7 +1148,7 @@ int force_tx_phase(int ep, int center, int tollerance)
int
n
=
tx_phase
-
center
+
10000
;
if
(
n
>
10000
-
tol
lerance
&&
n
<
10000
+
tol
lerance
)
if
(
n
>
10000
-
tol
erance
&&
n
<
10000
+
to
lerance
)
{
fprintf
(
stderr
,
"locked on %d ps after %d attempts.
\n
"
,
tx_phase
,
n_attempts
);
return
1
;
...
...
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