arch/arm/src/lpc17xx_40xx/lpc17_40_spi.c: Fix a syslog format
This commit is contained in:
parent
c52241d53e
commit
c3092f3699
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user