mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
arch/arm/src/sama5/sam_ehci.c: Fix a syslog format
This commit is contained in:
committed by
Xiang Xiao
parent
cf9e8bb03e
commit
84fa0a9b6c
@@ -24,6 +24,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
@@ -3215,7 +3216,7 @@ static int sam_ehci_tophalf(int irq, FAR void *context, FAR void *arg)
|
||||
#ifdef CONFIG_USBHOST_TRACE
|
||||
usbhost_vtrace1(EHCI_VTRACE1_TOPHALF, usbsts & regval);
|
||||
#else
|
||||
uinfo("USBSTS: %08x USBINTR: %08x\n", usbsts, regval);
|
||||
uinfo("USBSTS: %08" PRIx32 " USBINTR: %08" PRIx32 "\n", usbsts, regval);
|
||||
#endif
|
||||
|
||||
/* Handle all unmasked interrupt sources */
|
||||
|
||||
Reference in New Issue
Block a user