Browse Source
ch32f1: Fixed another broken debug print that made assumptions about %x and %d that are wrong
v1.8
dragonmux
2 years ago
No known key found for this signature in database
GPG Key ID: 64861EA89B35507A
1 changed files with
1 additions and
1 deletions
-
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) |
|
|
|
{ |
|
|
|