Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit Switch - Software
Manage
Activity
Members
Labels
Plan
Issues
87
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
White Rabbit Switch - Software
Commits
33f27f33
Commit
33f27f33
authored
1 year ago
by
Fabian Mauchle
Committed by
Adam Wujek
8 months ago
Browse files
Options
Downloads
Patches
Plain Diff
userspace/wrs_dump_shmem: increase printed digits for sfp dom
parent
66e7623c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
userspace/tools/wrs_dump_shmem.c
+1
-1
1 addition, 1 deletion
userspace/tools/wrs_dump_shmem.c
with
1 addition
and
1 deletion
userspace/tools/wrs_dump_shmem.c
+
1
−
1
View file @
33f27f33
...
...
@@ -256,7 +256,7 @@ void dump_one_field(void *addr, struct dump_info *info, char *info_prefix)
break
;
case
dump_type_sfp_dom_tx_power
:
case
dump_type_sfp_dom_rx_power
:
printf
(
"%.
3
f mW
\n
"
,
ntohs
(
*
(
uint16_t
*
)
p
)
/
(
float
)
10000
);
printf
(
"%.
4
f mW
\n
"
,
ntohs
(
*
(
uint16_t
*
)
p
)
/
(
float
)
10000
);
break
;
case
dump_type_port_mode
:
i
=
*
(
uint32_t
*
)
p
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment