arch/arm/src/stm32/stm32_otgfshost.c: Fix syslog formats
This commit is contained in:
parent
c8958586a7
commit
4b7557e278
@ -25,6 +25,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
@ -2520,7 +2521,8 @@ static inline void stm32_gint_hcinisr(FAR struct stm32_usbhost_s *priv,
|
||||
/* AND the two to get the set of enabled, pending HC interrupts */
|
||||
|
||||
pending &= regval;
|
||||
uinfo("HCINTMSK%d: %08x pending: %08x\n", chidx, regval, pending);
|
||||
uinfo("HCINTMSK%d: %08" PRIx32 " pending: %08" PRIx32 "\n",
|
||||
chidx, regval, pending);
|
||||
|
||||
/* Check for a pending ACK response received/transmitted interrupt */
|
||||
|
||||
@ -2777,7 +2779,8 @@ static inline void stm32_gint_hcoutisr(FAR struct stm32_usbhost_s *priv,
|
||||
/* AND the two to get the set of enabled, pending HC interrupts */
|
||||
|
||||
pending &= regval;
|
||||
uinfo("HCINTMSK%d: %08x pending: %08x\n", chidx, regval, pending);
|
||||
uinfo("HCINTMSK%d: %08" PRIx32 " pending: %08" PRIx32 "\n",
|
||||
chidx, regval, pending);
|
||||
|
||||
/* Check for a pending ACK response received/transmitted interrupt */
|
||||
|
||||
@ -3099,7 +3102,7 @@ static inline void stm32_gint_rxflvlisr(FAR struct stm32_usbhost_s *priv)
|
||||
/* Read and pop the next status from the Rx FIFO */
|
||||
|
||||
grxsts = stm32_getreg(STM32_OTGFS_GRXSTSP);
|
||||
uinfo("GRXSTS: %08x\n", grxsts);
|
||||
uinfo("GRXSTS: %08" PRIx32 "\n", grxsts);
|
||||
|
||||
/* Isolate the channel number/index in the status word */
|
||||
|
||||
@ -3254,7 +3257,7 @@ static inline void stm32_gint_nptxfeisr(FAR struct stm32_usbhost_s *priv)
|
||||
|
||||
/* Write the next group of packets into the Tx FIFO */
|
||||
|
||||
uinfo("HNPTXSTS: %08x chidx: %d avail: %d buflen: %d xfrd: %d "
|
||||
uinfo("HNPTXSTS: %08" PRIx32 " chidx: %d avail: %d buflen: %d xfrd: %d "
|
||||
"wrsize: %d\n",
|
||||
regval, chidx, avail, chan->buflen, chan->xfrd, wrsize);
|
||||
|
||||
@ -3344,8 +3347,9 @@ static inline void stm32_gint_ptxfeisr(FAR struct stm32_usbhost_s *priv)
|
||||
|
||||
/* Write the next group of packets into the Tx FIFO */
|
||||
|
||||
uinfo("HPTXSTS: %08x chidx: %d avail: %d buflen: %d xfrd: %d wrsize: %d\n",
|
||||
regval, chidx, avail, chan->buflen, chan->xfrd, wrsize);
|
||||
uinfo("HPTXSTS: %08" PRIx32
|
||||
" chidx: %d avail: %d buflen: %d xfrd: %d wrsize: %d\n",
|
||||
regval, chidx, avail, chan->buflen, chan->xfrd, wrsize);
|
||||
|
||||
stm32_gint_wrpacket(priv, chan->buffer, chidx, wrsize);
|
||||
}
|
||||
@ -4839,7 +4843,7 @@ static int stm32_cancel(FAR struct usbhost_driver_s *drvr, usbhost_ep_t ep)
|
||||
unsigned int chidx = (unsigned int)ep;
|
||||
irqstate_t flags;
|
||||
|
||||
uinfo("chidx: %u: %d\n", chidx);
|
||||
uinfo("chidx: %u\n", chidx);
|
||||
|
||||
DEBUGASSERT(priv && chidx < STM32_MAX_TX_FIFOS);
|
||||
chan = &priv->chan[chidx];
|
||||
|
Loading…
Reference in New Issue
Block a user