Skip to content
Snippets Groups Projects
Commit 33f27f33 authored by Fabian Mauchle's avatar Fabian Mauchle Committed by Adam Wujek
Browse files

userspace/wrs_dump_shmem: increase printed digits for sfp dom

parent 66e7623c
Branches
Tags
No related merge requests found
......@@ -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("%.3f mW\n", ntohs(*(uint16_t *)p)/(float)10000);
printf("%.4f mW\n", ntohs(*(uint16_t *)p)/(float)10000);
break;
case dump_type_port_mode:
i = *(uint32_t *)p;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment