hosted/bmp_libusb: Cleaned up the bmp_ident code further

This commit is contained in:
dragonmux 2022-06-04 21:31:47 -04:00 committed by Piotr Esden-Tempski
parent a87afbd3d3
commit af0d597fb0
1 changed files with 6 additions and 6 deletions

View File

@ -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)