arch/arm/src/lc823450/lc823450_adc.c: Fix a syslog format
This commit is contained in:
parent
93bd2d8d7a
commit
3281af5aaa
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
@ -224,7 +225,7 @@ static void lc823450_adc_start(FAR struct lc823450_adc_inst_s *inst)
|
|||||||
{
|
{
|
||||||
if (pclk / div <= LC823450_MAX_ADCCLK)
|
if (pclk / div <= LC823450_MAX_ADCCLK)
|
||||||
{
|
{
|
||||||
ainfo("ADCCLK: %d[Hz]\n", pclk / div);
|
ainfo("ADCCLK: %" PRId32 "[Hz]\n", pclk / div);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user