hosted: Switched the `bmp_ident` output and printing method from stderr to stdout
This commit is contained in:
parent
74d6c676bb
commit
958a6d1a20
|
@ -28,10 +28,10 @@
|
|||
|
||||
void bmp_ident(bmp_info_t *info)
|
||||
{
|
||||
DEBUG_INFO("BMP hosted %s\n for ST-Link V2/3, CMSIS_DAP, JLINK and "
|
||||
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)
|
||||
DEBUG_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->manufacturer,
|
||||
info->product);
|
||||
|
|
|
@ -29,8 +29,8 @@ void bmp_ident(bmp_info_t *info)
|
|||
{
|
||||
if (!info)
|
||||
return;
|
||||
DEBUG_INFO("BMP hosted (BMP Only) %s\n", FIRMWARE_VERSION);
|
||||
DEBUG_INFO("Using:\n %s %s %s\n", info->manufacturer, info->version, info->serial);
|
||||
PRINT_INFO("Black Magic Debug App (for BMP only) %s\n", FIRMWARE_VERSION);
|
||||
PRINT_INFO("Using:\n %s %s %s\n", info->manufacturer, info->version, info->serial);
|
||||
}
|
||||
|
||||
void libusb_exit_function(bmp_info_t *info) {(void)info;};
|
||||
|
|
Loading…
Reference in New Issue