arch/arm/src/lpc17xx_40xx/lpc17_40_spi.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-12-01 18:16:26 +09:00 committed by Xiang Xiao
parent c52241d53e
commit c3092f3699

View File

@ -41,6 +41,7 @@
#include <nuttx/config.h>
#include <sys/types.h>
#include <inttypes.h>
#include <stdint.h>
#include <stdbool.h>
#include <errno.h>
@ -273,7 +274,7 @@ static uint32_t spi_setfrequency(FAR struct spi_dev_s *dev,
priv->frequency = frequency;
priv->actual = actual;
spiinfo("Frequency %d->%d\n", frequency, actual);
spiinfo("Frequency %" PRId32 "->%" PRId32 "\n", frequency, actual);
return actual;
}