mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-06 08:46:31 +00:00
testing/sensortest/sensortest.c: Fix a printf format warning
This commit is contained in:
parent
1c6c2ad646
commit
c1b11a1e35
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ static void print_valf(const char *buffer, const char *name)
|
|||
static void print_valf2(const char *buffer, const char *name)
|
||||
{
|
||||
struct sensor_event_baro *event = (struct sensor_event_baro *)buffer;
|
||||
printf("%s: timestamp:%llu value1:%.2f value2:%.2f\n",
|
||||
printf("%s: timestamp:%" PRIu64 " value1:%.2f value2:%.2f\n",
|
||||
name, event->timestamp, event->pressure, event->temperature);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue