software/liblitespi: Fix compilation warning.

This commit is contained in:
Florent Kermarrec 2021-05-03 10:32:43 +02:00
parent c3f4da4376
commit 1d21a90076
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ int spiflash_freq_init(void)
/* Check if block is erased (filled with 0xFF) */ /* Check if block is erased (filled with 0xFF) */
if(crc == CRC32_ERASED_FLASH) { if(crc == CRC32_ERASED_FLASH) {
printf("Block of size %d, started on address 0x%x is erased. Cannot proceed with SPI frequency test.\n\r", SPI_FLASH_BLOCK_SIZE, SPIFLASH_BASE); printf("Block of size %d, started on address 0x%lx is erased. Cannot proceed with SPI frequency test.\n\r", SPI_FLASH_BLOCK_SIZE, SPIFLASH_BASE);
return -1; return -1;
} }