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)
|
void bmp_ident(bmp_info_t *info)
|
||||||
{
|
{
|
||||||
PRINT_INFO("Black Magic Debug App %s\n for ST-Link V2/3, CMSIS_DAP, JLINK and "
|
PRINT_INFO("Black Magic Debug App %s\n for Black Magic Probe, ST-Link V2/3, CMSIS_DAP,"
|
||||||
"LIBFTDI/MPSSE\n", FIRMWARE_VERSION);
|
" JLINK and LIBFTDI/MPSSE\n", FIRMWARE_VERSION);
|
||||||
if (info && info->vid && info->pid)
|
if (info && info->vid && info->pid) {
|
||||||
PRINT_INFO("Using %04x:%04x %s %s\n %s\n", 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->serial[0]) ? info->serial : NO_SERIAL_NUMBER,
|
||||||
info->manufacturer,
|
info->manufacturer, info->product);
|
||||||
info->product);
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void libusb_exit_function(bmp_info_t *info)
|
void libusb_exit_function(bmp_info_t *info)
|
||||||
|
|
Loading…
Reference in New Issue