drivers/lcd/ft80x_spi.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-11-27 17:25:13 +09:00 committed by Xiang Xiao
parent 4c67d9d66c
commit e2ec8e974c

View file

@ -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);