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

This commit is contained in:
dragonmux 2022-06-22 17:26:47 -04:00 committed by Piotr Esden-Tempski
parent 680a009690
commit 07321a4114
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{