mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-22 13:33:00 +02:00
atusb-eui64: print out set address with upper case characters in hex
Align read out format with parameter format to allow easier scripting for production.
This commit is contained in:
parent
434b4716d0
commit
ae1455cc7d
@ -153,7 +153,7 @@ static void show_usb_info(struct atrf_dsc *dsc, unsigned char *mac, int write)
|
||||
get_eui64(dev, eui64, EUI64_LEN);
|
||||
printf("Current EUI64 address from EEPROM: ");
|
||||
for (i = 0; i < EUI64_LEN; i++) {
|
||||
printf("%02x", eui64[EUI64_LEN - 1 - i]);
|
||||
printf("%02X", eui64[EUI64_LEN - 1 - i]);
|
||||
if (i < EUI64_LEN -1)
|
||||
printf(":");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user