From 0f0435a7c151c2e3fe07e551737037ff22dbcf72 Mon Sep 17 00:00:00 2001 From: dragonmux Date: Fri, 22 Jul 2022 14:46:19 +0100 Subject: [PATCH] hosted/remote_jtagtap: Fixed the debug error string in jtagtap_tdi_tdo_seq --- src/platforms/hosted/remote_jtagtap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/hosted/remote_jtagtap.c b/src/platforms/hosted/remote_jtagtap.c index 610250d..cef2f63 100644 --- a/src/platforms/hosted/remote_jtagtap.c +++ b/src/platforms/hosted/remote_jtagtap.c @@ -139,7 +139,7 @@ static void jtagtap_tdi_tdo_seq(uint8_t *const data_out, const bool final_tms, c length = platform_buffer_read((uint8_t *)buffer, REMOTE_MAX_MSG_SIZE); if (!length || buffer[0] == REMOTE_RESP_ERR) { - DEBUG_WARN("jtagtap_tms_seq failed, error %s\n", length ? buffer + 1 : "unknown"); + DEBUG_WARN("jtagtap_tdi_tdo_seq failed, error %s\n", length ? buffer + 1 : "unknown"); exit(-1); } if (data_out) {