forked from nuttx/nuttx-update
drivers/lcd/ft80x_spi.c: Fix a syslog format
This commit is contained in:
parent
4c67d9d66c
commit
e2ec8e974c
1 changed files with 3 additions and 1 deletions
|
@ -39,6 +39,7 @@
|
|||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <debug.h>
|
||||
|
@ -64,7 +65,8 @@
|
|||
|
||||
static void ft80x_select(FAR struct ft80x_dev_s *priv)
|
||||
{
|
||||
lcdinfo("Mode: %d Bits: 8 Frequency: %d\n", SPIDEV_MODE0, priv->frequency);
|
||||
lcdinfo("Mode: %d Bits: 8 Frequency: %" PRId32 "\n",
|
||||
SPIDEV_MODE0, priv->frequency);
|
||||
|
||||
DEBUGASSERT(priv != NULL);
|
||||
|
||||
|
|
Loading…
Reference in a new issue