From af0d597fb0bb3591771d1ad660aa3bb3037f1d22 Mon Sep 17 00:00:00 2001 From: dragonmux Date: Sat, 4 Jun 2022 21:31:47 -0400 Subject: [PATCH] hosted/bmp_libusb: Cleaned up the bmp_ident code further --- src/platforms/hosted/bmp_libusb.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/platforms/hosted/bmp_libusb.c b/src/platforms/hosted/bmp_libusb.c index 52d8e85..ccda253 100644 --- a/src/platforms/hosted/bmp_libusb.c +++ b/src/platforms/hosted/bmp_libusb.c @@ -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)