Skip to content

Commit

Permalink
Fix message levels in jtag3_print_data()
Browse files Browse the repository at this point in the history
These are debugging functions, and not supposed to print at
MSG_INFO level.
  • Loading branch information
dl8dtl committed Apr 8, 2024
1 parent 89d959b commit 5227dbe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/jtag3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5227dbe

Please sign in to comment.