boards/arm/nrf52/nrf52840-dk/src/nrf52_highpri.c: Fix a printf format warning
This commit is contained in:
parent
fb91fed70c
commit
465b065790
|
@ -24,6 +24,7 @@
|
|||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <strings.h>
|
||||
|
@ -265,7 +266,7 @@ int highpri_main(int argc, char *argv[])
|
|||
|
||||
/* Then print out what is happening */
|
||||
|
||||
printf("Elapsed time: %d seconds\n\n", seconds);
|
||||
printf("Elapsed time: %" PRId32 " seconds\n\n", seconds);
|
||||
for (i = 0, total = 0; i < 16; i++)
|
||||
{
|
||||
total += basepri[i];
|
||||
|
|
Loading…
Reference in New Issue