Skip to content

Commit 4b76aae

Browse files
authored
Correct type in printf (#343)
1 parent e447031 commit 4b76aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dma/sniff_crc/sniff_crc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ int main() {
8989
dma_channel_wait_for_finish_blocking(chan);
9090

9191
uint32_t sniffed_crc = dma_sniffer_get_data_accumulator();
92-
printf("Completed DMA sniff of %d byte buffer, DMA sniff accumulator value: 0x%lx\n", TOTAL_LEN, sniffed_crc);
92+
printf("Completed DMA sniff of %d byte buffer, DMA sniff accumulator value: 0x%x\n", TOTAL_LEN, sniffed_crc);
9393

9494
if (0ul == sniffed_crc) {
9595
printf("CRC32 check is good\n");

0 commit comments

Comments
 (0)