Print out device USB/fwudpater version after successful connection. The firmware application version should be printed from scripts.
This commit is contained in:
parent
7ede204444
commit
b904a6cb11
Binary file not shown.
|
|
@ -180,6 +180,7 @@ libusb_device_handle *open_usb_device( libusb_context *context, int log_level )
|
||||||
|
|
||||||
//report successful connection to INL retro-prog
|
//report successful connection to INL retro-prog
|
||||||
printf("Successfully found and connected to INL retro-prog\n");//TODO with firmware version 2.0\n");
|
printf("Successfully found and connected to INL retro-prog\n");//TODO with firmware version 2.0\n");
|
||||||
|
printf("Device firmware version: %x.%x.x \n", (desc.bcdDevice>>8), (desc.bcdDevice&0x00FF) );
|
||||||
|
|
||||||
//free device list if it was left open
|
//free device list if it was left open
|
||||||
if (device_list) {
|
if (device_list) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue