arch/arm/src/imxrt/imxrt_flexcan.c: Fix syslog formats
This commit is contained in:
parent
29400f0e38
commit
a927f98a23
@ -24,6 +24,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <unistd.h>
|
||||
@ -602,7 +603,7 @@ static int imxrt_transmit(FAR struct imxrt_driver_s *priv)
|
||||
|
||||
if (mbi == TXMBCOUNT)
|
||||
{
|
||||
nwarn("No TX MB available mbi %i\r\n", mbi);
|
||||
nwarn("No TX MB available mbi %" PRIi32 "\r\n", mbi);
|
||||
return 0; /* No transmission for you! */
|
||||
}
|
||||
|
||||
@ -1567,7 +1568,7 @@ static int imxrt_initialize(struct imxrt_driver_s *priv)
|
||||
|
||||
for (i = 0; i < RXMBCOUNT; i++)
|
||||
{
|
||||
ninfo("Set MB%i to receive %p\r\n", i, &priv->rx[i]);
|
||||
ninfo("Set MB%" PRIi32 " to receive %p\r\n", i, &priv->rx[i]);
|
||||
priv->rx[i].cs.edl = 0x1;
|
||||
priv->rx[i].cs.brs = 0x1;
|
||||
priv->rx[i].cs.esi = 0x0;
|
||||
@ -1631,8 +1632,8 @@ static void imxrt_reset(struct imxrt_driver_s *priv)
|
||||
|
||||
for (i = 0; i < TOTALMBCOUNT; i++)
|
||||
{
|
||||
ninfo("MB %i %p\r\n", i, &priv->rx[i]);
|
||||
ninfo("MB %i %p\r\n", i, &priv->rx[i].id.w);
|
||||
ninfo("MB %" PRIi32 " %p\r\n", i, &priv->rx[i]);
|
||||
ninfo("MB %" PRIi32 " %p\r\n", i, &priv->rx[i].id.w);
|
||||
priv->rx[i].cs.cs = 0x0;
|
||||
priv->rx[i].id.w = 0x0;
|
||||
priv->rx[i].data[0].w00 = 0x0;
|
||||
|
Loading…
Reference in New Issue
Block a user