Print out device USB/fwudpater version after successful connection. The firmware application version should be printed from scripts.

This commit is contained in:
Paul XPS 2018-12-02 15:07:55 -06:00
parent 7ede204444
commit b904a6cb11
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -180,6 +180,7 @@ libusb_device_handle *open_usb_device( libusb_context *context, int log_level )
//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("Device firmware version: %x.%x.x \n", (desc.bcdDevice>>8), (desc.bcdDevice&0x00FF) );
//free device list if it was left open
if (device_list) {