]> www.infradead.org Git - users/borneoa/openocd-next.git/commitdiff
adapter/xds110: Hide '(dis)connected' message master next
authorMarc Schink <dev@zapb.de>
Tue, 8 Jul 2025 07:57:27 +0000 (07:57 +0000)
committerAntonio Borneo <borneo.antonio@gmail.com>
Fri, 25 Jul 2025 16:52:40 +0000 (16:52 +0000)
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>
src/jtag/drivers/xds110.c

index d1bb7059089243e4c2e310a130d035aafe6f2131..6b3ca5cfb6ca62aa55b623d37e87982f2d68afec 100644 (file)
@@ -428,7 +428,7 @@ static bool usb_connect(void)
 
        /* Log the results */
        if (result == 0)
 
        /* Log the results */
        if (result == 0)
-               LOG_INFO("XDS110: connected");
+               LOG_DEBUG("XDS110: connected");
        else
                LOG_ERROR("XDS110: failed to connect");
 
        else
                LOG_ERROR("XDS110: failed to connect");
 
@@ -448,7 +448,7 @@ static void usb_disconnect(void)
                xds110.ctx = NULL;
        }
 
                xds110.ctx = NULL;
        }
 
-       LOG_INFO("XDS110: disconnected");
+       LOG_DEBUG("XDS110: disconnected");
 }
 
 static bool usb_read(unsigned char *buffer, int size, int *bytes_read,
 }
 
 static bool usb_read(unsigned char *buffer, int size, int *bytes_read,