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 <dev@zapb.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/8986
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Marc Schink
2025-07-08 07:57:27 +00:00
committed by Antonio Borneo
parent 7e83049c93
commit 6872f7e406

View File

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