Cleaned up scaling / offset handling for mag and gyro / acc

This commit is contained in:
Lorenz Meier
2012-08-26 14:51:33 +02:00
parent 6026595d83
commit 207b077d8a
2 changed files with 29 additions and 9 deletions
+3 -3
View File
@@ -834,9 +834,9 @@ test()
err(1, "immediate read failed");
warnx("single read");
warnx("pressure: %u", (unsigned)report.pressure);
warnx("altitude: %u", (unsigned)report.altitude);
warnx("temperature: %u", (unsigned)report.temperature);
warnx("pressure: %10.4f", report.pressure);
warnx("altitude: %11.4f", report.altitude);
warnx("temperature: %8.4f", report.temperature);
warnx("time: %lld", report.timestamp);
/* set the queue depth to 10 */