Fix message levels in jtag3_print_data()

These are debugging functions, and not supposed to print at
MSG_INFO level.
This commit is contained in:
Joerg Wunsch
2024-04-08 22:17:51 +02:00
parent 89d959b6bb
commit 5227dbe689

View File

@@ -211,14 +211,14 @@ static void jtag3_print_data(unsigned char *b, size_t s)
return;
for (i = 0; i < s; i++) {
msg_info("0x%02x", b[i]);
msg_debug("0x%02x", b[i]);
if (i % 16 == 15)
msg_info("\n");
msg_debug("\n");
else
msg_info(" ");
msg_debug(" ");
}
if (i % 16 != 0)
msg_info("\n");
msg_debug("\n");
}
static void jtag3_prmsg(const PROGRAMMER *pgm, unsigned char *data, size_t len) {