adapter/stlink: Hide '(re)connect' message

Print a debug message rather than an info message because this
information is not of importance for normal users.

While at it, fix the 'EMBEDDED_FUNCTION_NAME' checkpatch issue.

Change-Id: I9d458a6dd6818fdedc488e39d2daa6d72a21b743
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: https://review.openocd.org/c/openocd/+/8994
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Marc Schink
2025-07-11 10:36:16 +02:00
committed by Antonio Borneo
parent 4d14ac5741
commit 2248f1ef12
+1 -1
View File
@@ -4194,7 +4194,7 @@ static int stlink_dap_op_connect(struct adiv5_dap *dap)
uint32_t idcode;
int retval;
LOG_INFO("stlink_dap_op_connect(%sconnect)", dap->do_reconnect ? "re" : "");
LOG_DEBUG("%s(%sconnect)", __func__, dap->do_reconnect ? "re" : "");
/* Check if we should reset srst already when connecting, but not if reconnecting. */
if (!dap->do_reconnect) {