examples/bmi160: Fix printf format warning
Fix printf format warning by -Wformat.
****************************************************************************/
#include <nuttx/config.h>
+#include <inttypes.h>
#include <fcntl.h>
#include <stdio.h>
@@ -86,7 +87,7 @@ int main(int argc, FAR char *argv[])
if (prev != data.sensor_time)
{
- printf("[%d] %d, %d, %d / %d, %d, %d\n",
+ printf("[%" PRIu32 "] %d, %d, %d / %d, %d, %d\n",
data.sensor_time,
data.gyro.x, data.gyro.y, data.gyro.z,
data.accel.x, data.accel.y, data.accel.z);
