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
fdb6d1d4
Commit
fdb6d1d4
authored
Mar 19, 2024
by
Fabian Mauchle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/wrs_dump_shmem: increase printed digits for sfp dom
parent
7ae8e479
Pipeline
#5213
failed with stage
in 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrs_dump_shmem.c
userspace/tools/wrs_dump_shmem.c
+1
-1
No files found.
userspace/tools/wrs_dump_shmem.c
View file @
fdb6d1d4
...
...
@@ -254,7 +254,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
;
...
...
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