arch/arm/src/sama5/sam_udphs.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-12-03 15:32:04 +09:00 committed by Xiang Xiao
parent e297ed9cfe
commit 700eaaa6fe

View File

@ -49,6 +49,7 @@
#include <nuttx/config.h>
#include <sys/types.h>
#include <inttypes.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
@ -2388,7 +2389,7 @@ static void sam_dma_interrupt(struct sam_usbdev_s *priv, int epno)
/* Get the result of the DMA operation */
dmastatus = sam_getreg(SAM_UDPHS_DMASTATUS(epno));
uinfo("DMA%d DMASTATUS: %08x\n", epno, dmastatus);
uinfo("DMA%d DMASTATUS: %08" PRIx32 "\n", epno, dmastatus);
/* Disable DMA interrupt to avoid receiving 2 (B_EN and TR_EN) */