hosted: Switched the `bmp_ident` output and printing method from stderr to stdout

This commit is contained in:
dragonmux 2022-06-04 19:36:50 -04:00 committed by Piotr Esden-Tempski
parent 74d6c676bb
commit 958a6d1a20
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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;};