hosted/bmp_libusb: Cleaned up the bmp_ident code further
This commit is contained in:
parent
a87afbd3d3
commit
af0d597fb0
|
@ -28,13 +28,13 @@
|
|||
|
||||
void bmp_ident(bmp_info_t *info)
|
||||
{
|
||||
PRINT_INFO("Black Magic Debug App %s\n for ST-Link V2/3, CMSIS_DAP, JLINK and "
|
||||
"LIBFTDI/MPSSE\n", FIRMWARE_VERSION);
|
||||
if (info && info->vid && info->pid)
|
||||
PRINT_INFO("Black Magic Debug App %s\n for Black Magic Probe, ST-Link V2/3, CMSIS_DAP,"
|
||||
" JLINK and LIBFTDI/MPSSE\n", FIRMWARE_VERSION);
|
||||
if (info && info->vid && info->pid) {
|
||||
PRINT_INFO("Using %04x:%04x %s %s\n %s\n", info->vid, info->pid,
|
||||
(info->serial[0]) ? info->serial : NO_SERIAL_NUMBER,
|
||||
info->manufacturer,
|
||||
info->product);
|
||||
(info->serial[0]) ? info->serial : NO_SERIAL_NUMBER,
|
||||
info->manufacturer, info->product);
|
||||
}
|
||||
}
|
||||
|
||||
void libusb_exit_function(bmp_info_t *info)
|
||||
|
|
Loading…
Reference in New Issue