Browse Source

ch32f1: Fixed another broken debug print that made assumptions about %x and %d that are wrong

pull/1075/head
dragonmux 2 years ago
committed by Piotr Esden-Tempski
parent
commit
07321a4114
  1. 2
      src/target/ch32f1.c

2
src/target/ch32f1.c

@ -293,7 +293,7 @@ static int ch32f1_flash_write(struct target_flash *f,
target_addr org_dest = dest;
const void *org_src = src;
#endif
DEBUG_INFO("CH32: flash write 0x%x ,size=%d\n", dest, len);
DEBUG_INFO("CH32: flash write 0x%" PRIx32 " ,size=%zu\n", dest, len);
while (length > 0)
{

Loading…
Cancel
Save