mirror of
https://github.com/apache/nuttx.git
synced 2026-08-10 23:15:15 +00:00
arch/arm/src/lpc17xx_40xx/lpc17_40_spi.c: Fix a syslog format
This commit is contained in:
parent
c52241d53e
commit
c3092f3699
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue