From: Marc Schink Date: Tue, 8 Jul 2025 07:57:27 +0000 (+0000) Subject: adapter/xds110: Hide '(dis)connected' message X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;ds=sidebyside;p=users%2Fborneoa%2Fopenocd-next.git adapter/xds110: Hide '(dis)connected' message Print a debug message rather than an info message because this information is not of importance for normal users. Change-Id: Ie91565df455ffc0bfe976d1782dd4318bfd2d30b Signed-off-by: Marc Schink Reviewed-on: https://review.openocd.org/c/openocd/+/8986 Tested-by: jenkins Reviewed-by: Antonio Borneo --- diff --git a/src/jtag/drivers/xds110.c b/src/jtag/drivers/xds110.c index d1bb70590..6b3ca5cfb 100644 --- a/src/jtag/drivers/xds110.c +++ b/src/jtag/drivers/xds110.c @@ -428,7 +428,7 @@ static bool usb_connect(void) /* Log the results */ if (result == 0) - LOG_INFO("XDS110: connected"); + LOG_DEBUG("XDS110: connected"); else LOG_ERROR("XDS110: failed to connect"); @@ -448,7 +448,7 @@ static void usb_disconnect(void) xds110.ctx = NULL; } - LOG_INFO("XDS110: disconnected"); + LOG_DEBUG("XDS110: disconnected"); } static bool usb_read(unsigned char *buffer, int size, int *bytes_read,