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
69f6c816
Commit
69f6c816
authored
Jan 17, 2017
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BUG: 1517] Fix typo in sfp_dump
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
39f955a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
i2c_sfp.c
userspace/libwr/i2c_sfp.c
+1
-1
No files found.
userspace/libwr/i2c_sfp.c
View file @
69f6c816
...
...
@@ -283,7 +283,7 @@ void shw_sfp_print_header(struct shw_sfp_header *head)
printf
(
"Identifier: %02X
\n
"
,
head
->
id
);
printf
(
"Extended Identifier: %02X
\n
"
,
head
->
ext_id
);
printf
(
"Connector: %02X
\n
"
,
head
->
connector
);
printf
(
"Tran
cie
ver: %016llX
\n
"
,
((
uint64_t
*
)
head
->
transciever
)[
0
]);
printf
(
"Tran
scei
ver: %016llX
\n
"
,
((
uint64_t
*
)
head
->
transciever
)[
0
]);
printf
(
"Encoding: %02x
\n
"
,
head
->
encoding
);
printf
(
"Nominal Bit Rate: %d Megabits/s
\n
"
,
head
->
br_nom
*
100
);
printf
(
"Length (9m): %dkm
\n
"
,
head
->
length1
);
...
...
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