arch/avr/src/avr/up_spi.c: Fix syslog formats
This commit is contained in:
parent
e0d535c317
commit
4db092b6ac
@ -40,6 +40,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <errno.h>
|
||||
@ -250,7 +251,7 @@ static uint32_t spi_setfrequency(FAR struct spi_dev_s *dev,
|
||||
actual = priv->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