rp: Use %u rather than PRIu16

This commit is contained in:
James Turton 2022-09-16 16:18:38 +02:00 committed by Rachel Mant
parent ca867d0ee7
commit 97d766eee8
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ static void rp_add_flash(target *t)
rp_flash_enter_xip(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; target_flash_s *const f = &flash->f;
f->start = RP_XIP_FLASH_BASE; f->start = RP_XIP_FLASH_BASE;