From 97d766eee8e4a78f0f3759b8815fc46c6935618b Mon Sep 17 00:00:00 2001 From: James Turton Date: Fri, 16 Sep 2022 16:18:38 +0200 Subject: [PATCH] rp: Use %u rather than PRIu16 --- src/target/rp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/rp.c b/src/target/rp.c index 87dd53d..ac01943 100644 --- a/src/target/rp.c +++ b/src/target/rp.c @@ -238,7 +238,7 @@ static void rp_add_flash(target *t) rp_flash_enter_xip(t); - DEBUG_INFO("Flash size: %" PRIu16 "MiB\n", spi_parameters.capacity / (1024U * 1024U)); + DEBUG_INFO("Flash size: %uMiB\n", spi_parameters.capacity / (1024U * 1024U)); target_flash_s *const f = &flash->f; f->start = RP_XIP_FLASH_BASE;