arch/avr/src/avr/up_spi.c: Fix syslog formats

This commit is contained in:
YAMAMOTO Takashi 2020-11-24 07:14:33 +09:00 committed by Xiang Xiao
parent e0d535c317
commit 4db092b6ac

View File

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