mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 05:47:54 +00:00
arch/arm/src/stm32l4/stm32l4xrxx_dma.c: Fix a syslog format
This commit is contained in:
parent
2ed73cc599
commit
030271f7f5
1 changed files with 3 additions and 1 deletions
|
|
@ -47,6 +47,7 @@
|
|||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <debug.h>
|
||||
|
|
@ -713,7 +714,8 @@ static void stm32l4_dma12_setup(DMA_HANDLE handle, uint32_t paddr,
|
|||
|
||||
DEBUGASSERT(dmachan->ctrl == DMA1 || dmachan->ctrl == DMA2);
|
||||
|
||||
dmainfo("paddr: %08x maddr: %08x ntransfers: %d ccr: %08x\n",
|
||||
dmainfo("paddr: %08" PRIx32 " maddr: %08" PRIx32
|
||||
" ntransfers: %zd ccr: %08" PRIx32 "\n",
|
||||
paddr, maddr, ntransfers, ccr);
|
||||
|
||||
#ifdef CONFIG_STM32L4_DMACAPABLE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue