hosted/remote_jtagtap: Fixed the debug error string in jtagtap_tdi_tdo_seq

This commit is contained in:
dragonmux 2022-07-22 14:46:19 +01:00 committed by Piotr Esden-Tempski
parent d0faab957a
commit 0f0435a7c1
1 changed files with 1 additions and 1 deletions

View File

@ -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); length = platform_buffer_read((uint8_t *)buffer, REMOTE_MAX_MSG_SIZE);
if (!length || buffer[0] == REMOTE_RESP_ERR) { 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); exit(-1);
} }
if (data_out) { if (data_out) {