aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/ms5611
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2012-08-26 14:51:33 +0200
committerLorenz Meier <lm@inf.ethz.ch>2012-08-26 14:51:33 +0200
commit207b077d8af64504f4109b259fbe5cc4e7879988 (patch)
tree52eeb428caeb69d517a2789585e4852f49dbfbeb /apps/drivers/ms5611
parent6026595d83b5ce5048ad77b7e0aa78ecd83e46af (diff)
downloadpx4-firmware-207b077d8af64504f4109b259fbe5cc4e7879988.tar.gz
px4-firmware-207b077d8af64504f4109b259fbe5cc4e7879988.tar.bz2
px4-firmware-207b077d8af64504f4109b259fbe5cc4e7879988.zip
Cleaned up scaling / offset handling for mag and gyro / acc
Diffstat (limited to 'apps/drivers/ms5611')
-rw-r--r--apps/drivers/ms5611/ms5611.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/drivers/ms5611/ms5611.cpp b/apps/drivers/ms5611/ms5611.cpp
index 847551aa2..ba57829eb 100644
--- a/apps/drivers/ms5611/ms5611.cpp
+++ b/apps/drivers/ms5611/ms5611.cpp
@@ -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 */