Skip to content
Snippets Groups Projects
Commit cb7297ac authored by Adam Wujek's avatar Adam Wujek
Browse files

userspace/libwr: remove warning about options field in sfp eeprom


Please note, this commit changes the order in which options bytes are
displayed.

Signed-off-by: default avatarAdam Wujek <dev_public@wujek.eu>
parent 735d0d75
Branches
Tags
No related merge requests found
......@@ -336,7 +336,7 @@ void shw_sfp_print_header(struct shw_sfp_header *head)
printf("%c", head->vendor_rev[i]);
printf("\n");
printf("TX Wavelength: %d\n", getSfpTxWaveLength(head));
printf("Options: %04X\n", ((uint16_t *) head->options)[0]);
printf("Options: 0x%04X\n", head->options[0] << 8 | head->options[1]);
printf("Bitrate (MAX): %02X\n", head->br_max);
printf("Bitrate (MIN): %02X\n", head->br_min);
printf("Vendor Serial: ");
......
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