Commit fdb6d1d4 authored by Fabian Mauchle's avatar Fabian Mauchle

userspace/wrs_dump_shmem: increase printed digits for sfp dom

parent 7ae8e479
Pipeline #5213 failed with stage
in 8 seconds
......@@ -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("%.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;
......
Markdown is supported
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